Documentation ¶
Index ¶
- func Delete(key string) error
- func Exists(key string) bool
- func Expire(key string, second int) error
- func Get(key string) (string, error)
- func HDelete(key, field string) error
- func HExists(key, field string) bool
- func HGet(key, field string) (string, error)
- func HGetEntity(key string, entity data.EntityInterface) error
- func HGetMap(key string) (data.Map, error)
- func HLen(key string) (int, error)
- func HSet(key, field, value string) error
- func HSetEntity(key string, entity data.EntityInterface) error
- func HSetMap(key string, value map[string]string) error
- func Init(conf *Config)
- func Set(key, val string) error
- func TTL(key string) (int, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HGetEntity ¶
func HGetEntity(key string, entity data.EntityInterface) error
func HSetEntity ¶
func HSetEntity(key string, entity data.EntityInterface) error
Types ¶
Click to show internal directories.
Click to hide internal directories.