Documentation ¶
Index ¶
- func Del(key string) error
- func Exists(key string) (bool, error)
- func Get(key string) (interface{}, error)
- func GetSessionFromRedis(userSessionKey string) *proto.AccountSession
- func Pexpire(key string, expire int) (bool, error)
- func PutSessionToRedis(accSession *proto.AccountSession)
- func Set(key, val string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSessionFromRedis ¶
func GetSessionFromRedis(userSessionKey string) *proto.AccountSession
func PutSessionToRedis ¶
func PutSessionToRedis(accSession *proto.AccountSession)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.