Documentation ¶
Index ¶
- type Store
- func (s *Store) DeleteMember(ctx context.Context, guildID discord.GuildID, userID discord.UserID) error
- func (s *Store) Invites(ctx context.Context, guildID discord.GuildID) (is []discord.Invite, err error)
- func (s *Store) IsGuildCached(ctx context.Context, guildID discord.GuildID) (bool, error)
- func (s *Store) MarkGuildCached(ctx context.Context, guildID discord.GuildID) error
- func (s *Store) Member(ctx context.Context, guildID discord.GuildID, userID discord.UserID) (m discord.Member, err error)
- func (s *Store) MemberExists(ctx context.Context, guildID discord.GuildID, userID discord.UserID) (bool, error)
- func (s *Store) Members(ctx context.Context, guildID discord.GuildID) (ms []discord.Member, err error)
- func (s *Store) SetInvites(ctx context.Context, guildID discord.GuildID, is []discord.Invite) error
- func (s *Store) SetMember(ctx context.Context, guildID discord.GuildID, m discord.Member) error
- func (s *Store) SetMembers(ctx context.Context, guildID discord.GuildID, ms []discord.Member) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) DeleteMember ¶
func (*Store) IsGuildCached ¶
func (*Store) MarkGuildCached ¶
func (*Store) MemberExists ¶
func (*Store) SetInvites ¶
Click to show internal directories.
Click to hide internal directories.