Documentation ¶
Index ¶
- type Peer
- type Repo
- func (r *Repo) Create(c context.Context, childBotID primitive.ObjectID, tgUserID, tgChatID int64) error
- func (r *Repo) CreateMuted(c context.Context, childBotID primitive.ObjectID, tgUserID, tgChatID int64) error
- func (r *Repo) CreateUnMuted(c context.Context, childBotID primitive.ObjectID, tgUserID, tgChatID int64) error
- func (r *Repo) DeleteByChildBotID(c context.Context, childBotID primitive.ObjectID) error
- func (r *Repo) Get(c context.Context, childBotID primitive.ObjectID, tgUserID int64) (Peer, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) CreateMuted ¶
func (*Repo) CreateUnMuted ¶ added in v1.0.17
func (*Repo) DeleteByChildBotID ¶ added in v1.0.5
Click to show internal directories.
Click to hide internal directories.