Documentation ¶
Index ¶
- Variables
- type Emoji
- type EmojiQuery
- func (eq *EmojiQuery) DeleteMany(ctx context.Context, teamID string, emojiIDs ...string) error
- func (eq *EmojiQuery) GetByMXC(ctx context.Context, mxc string) (*Emoji, error)
- func (eq *EmojiQuery) GetBySlackID(ctx context.Context, teamID, emojiID string) (*Emoji, error)
- func (eq *EmojiQuery) GetEmojiCount(ctx context.Context, teamID string) (count int, err error)
- func (eq *EmojiQuery) GetLock(teamID string) *sync.Mutex
- func (eq *EmojiQuery) Prune(ctx context.Context, teamID string, emojiIDs ...string) error
- func (eq *EmojiQuery) Put(ctx context.Context, emoji *Emoji) error
- func (eq *EmojiQuery) Rename(ctx context.Context, emoji *Emoji, newID string) error
- func (eq *EmojiQuery) SaveMXC(ctx context.Context, emoji *Emoji) error
- func (eq *EmojiQuery) WithLock(teamID string) func()
- type SlackDB
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Emoji ¶
type EmojiQuery ¶
type EmojiQuery struct { *dbutil.QueryHelper[*Emoji] // contains filtered or unexported fields }
func (*EmojiQuery) DeleteMany ¶
func (*EmojiQuery) GetBySlackID ¶
func (*EmojiQuery) GetEmojiCount ¶
func (*EmojiQuery) WithLock ¶
func (eq *EmojiQuery) WithLock(teamID string) func()
Click to show internal directories.
Click to hide internal directories.