Documentation
¶
Index ¶
- type Redis
- func (db *Redis) FindSkinByUserId(id int) (*model.Skin, error)
- func (db *Redis) FindSkinByUsername(username string) (*model.Skin, error)
- func (db *Redis) GetUuid(username string) (string, bool, error)
- func (db *Redis) Ping() error
- func (db *Redis) RemoveSkinByUserId(id int) error
- func (db *Redis) RemoveSkinByUsername(username string) error
- func (db *Redis) SaveSkin(skin *model.Skin) error
- func (db *Redis) StoreUuid(username string, uuid string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
func (*Redis) FindSkinByUsername ¶
func (*Redis) RemoveSkinByUserId ¶
func (*Redis) RemoveSkinByUsername ¶
Click to show internal directories.
Click to hide internal directories.