Documentation ¶
Index ¶
- func Exists(key string) bool
- func GetString(key string) string
- func HashGet(key string, field string) string
- func HashGetAll(key string) map[string]string
- func HashGetObject(key string, result interface{})
- func HashInc(key string, field string, by int) int
- func HashRemove(key string, fields ...string)
- func HashSet(key string, fields ...interface{})
- func Inc(key string, by int, expires time.Duration) int
- func Init()
- func Remove(keys ...string)
- func RemoveSessionControl(sessionKey string, sessionControlsKey string, controlID string)
- func Send(channel string, message []byte)
- func SetAdd(key string, value string)
- func SetGet(key string) []string
- func SetRemove(key string, value string)
- func SetSessionControl(sessionKey string, sessionControlsKey string, controlID string, ...) bool
- func SetString(key string, value string, expires time.Duration)
- func SortedSetAdd(key string, value string, score int64)
- func SortedSetPopRange(key string, min int64, max int64) []string
- func SortedSetRemove(key string, value string)
- func Subscribe(channel string) chan []byte
- func Unsubscribe(ch chan []byte)
- type Unlocker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashGetAll ¶
func HashGetObject ¶
func HashGetObject(key string, result interface{})
func HashRemove ¶
func RemoveSessionControl ¶
func SetSessionControl ¶
func SetSessionControl(sessionKey string, sessionControlsKey string, controlID string, controlJSON string, maxSize int) bool
App specific methods =============================
func SortedSetAdd ¶
func SortedSetRemove ¶
func Unsubscribe ¶
func Unsubscribe(ch chan []byte)
Types ¶
Click to show internal directories.
Click to hide internal directories.