Documentation ¶
Index ¶
- func AllCache(search string, page, rows int) (et.List, error)
- func Close() error
- func Del(key string) (int64, error)
- func DelCtx(ctx context.Context, key string) (int64, error)
- func DelVerify(device string, key string) (int64, error)
- func Empty() error
- func Get(key, def string) (string, error)
- func GetCtx(ctx context.Context, key, def string) (string, error)
- func GetItem(key string) (et.Item, error)
- func GetItems(key string) (et.Items, error)
- func GetJson(key string) (et.Json, error)
- func GetVerify(device string, key string) (string, error)
- func HDel(key, atr string) error
- func HDelCtx(ctx context.Context, key, atr string) error
- func HGet(key string) (map[string]string, error)
- func HGetAtrib(key, atr string) (string, error)
- func HGetCtx(ctx context.Context, key string) (map[string]string, error)
- func HSet(key string, val map[string]string) error
- func HSetAtrib(key, atr, val string) error
- func HSetCtx(ctx context.Context, key string, val map[string]string) error
- func More(key string, second time.Duration) int
- func Pub(channel string, message interface{}) error
- func PubCtx(ctx context.Context, channel string, message interface{}) error
- func Set(key, val string, second time.Duration) error
- func SetCtx(ctx context.Context, key, val string, second time.Duration) error
- func SetD(key, val string) error
- func SetItem(key string, val et.Item, second time.Duration) (et.Item, error)
- func SetItemD(key string, val et.Item) (et.Item, error)
- func SetItemM(key string, val et.Item) (et.Item, error)
- func SetItemW(key string, val et.Item) (et.Item, error)
- func SetItemY(key string, val et.Item) (et.Item, error)
- func SetItems(key string, val et.Items, second time.Duration) (et.Items, error)
- func SetItemsD(key string, val et.Items) (et.Items, error)
- func SetItemsM(key string, val et.Items) (et.Items, error)
- func SetItemsW(key string, val et.Items) (et.Items, error)
- func SetItemsY(key string, val et.Items) (et.Items, error)
- func SetJson(key string, val et.Json, second time.Duration) (et.Json, error)
- func SetJsonD(key string, val et.Json) (et.Json, error)
- func SetJsonM(key string, val et.Json) (et.Json, error)
- func SetJsonW(key string, val et.Json) (et.Json, error)
- func SetJsonY(key string, val et.Json) (et.Json, error)
- func SetM(key, val string) error
- func SetVerify(device, key, val string) error
- func SetW(key, val string) error
- func SetY(key, val string) error
- func Sub(channel string, f func(interface{}))
- func SubCtx(ctx context.Context, channel string, f func(interface{}))
- type Conn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.