Documentation ¶
Index ¶
- type Redis
- func (r *Redis) Connect() *redis.Client
- func (r *Redis) DeleteChannel(id discord.ChannelID) error
- func (r *Redis) DeleteMember(gId discord.GuildID, uId discord.UserID) error
- func (r *Redis) DeleteMessage(id discord.MessageID) error
- func (r *Redis) GetChannel(id discord.ChannelID) (*discord.Channel, error)
- func (r *Redis) GetMember(gId discord.GuildID, uId discord.UserID) (*discord.Member, error)
- func (r *Redis) GetMessage(id discord.MessageID) (*discord.Message, error)
- func (r *Redis) SetChannel(c *discord.Channel) error
- func (r *Redis) SetMember(id discord.GuildID, m *discord.Member) error
- func (r *Redis) SetMessage(m *discord.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct {
Client *redis.Client
}
func (*Redis) DeleteMember ¶
func (*Redis) GetChannel ¶
func (*Redis) GetMessage ¶
Click to show internal directories.
Click to hide internal directories.