Documentation ¶
Index ¶
- func AllCache(search string, page, rows int) (e.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 string) (string, error)
- func GetCtx(ctx context.Context, key string) (string, 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 SetVerify(device, 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.