Documentation
¶
Index ¶
- func BackgroundContext() context.Context
- func RedisContext() (context.Context, context.CancelFunc)
- type Cache
- type Database
- func (db *Database) GetAvatar(avatarURL string, size int) (image.Image, error)
- func (db *Database) GetCachedProfileImage(userId, profileString string) (string, error)
- func (db *Database) SetAvatar(avatarURL string, size int, image image.Image) error
- func (db *Database) SetCachedProfileImage(userId, profileString, image string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackgroundContext ¶
func RedisContext ¶
func RedisContext() (context.Context, context.CancelFunc)
Types ¶
type Database ¶
func (*Database) GetCachedProfileImage ¶
func (*Database) SetCachedProfileImage ¶
Click to show internal directories.
Click to hide internal directories.