Documentation
¶
Index ¶
- func Del(rdb interface{}, key string) bool
- func Get(rdb interface{}, key string) (string, error)
- func GetJson(rdb interface{}, key string, data interface{}) error
- func HDel(rdb interface{}, key string, field string) bool
- func HGet(rdb interface{}, key string, field string) (string, error)
- func HGetAll(rdb interface{}, key string) (map[string]string, error)
- func HSet(rdb interface{}, key string, field map[string]interface{}) error
- func Keys(rdb interface{}, key string) []string
- func New(addr string, passwd string, db int) *redis.Client
- func NewAWS(addr string, passwd string, username string) *redis.ClusterClient
- func Pub(rdb interface{}, title string, data string) error
- func Set(rdb interface{}, key string, val string) error
- func SetJson(rdb interface{}, key string, val interface{}) error
- func Sub(rdb interface{}, title string) *redis.PubSub
- func SubRecvMsg(subscriber *redis.PubSub) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SubRecvMsg ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.