Documentation ¶
Index ¶
- func ReportError(err error, msg string)
- type REDIS
- func (*REDIS) Del(client *redis.Client, key string)
- func (*REDIS) Do(client *redis.Client, cmd string, key string) string
- func (*REDIS) Get(client *redis.Client, key string) string
- func (*REDIS) NewClient(addr string, password string, bd int) *redis.Client
- func (*REDIS) Set(client *redis.Client, key string, value interface{}, expiration time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportError ¶
ReportError is a handy function to show errors
Types ¶
Click to show internal directories.
Click to hide internal directories.