Documentation
¶
Index ¶
- func Decr(ctx context.Context, key string) (result int64, err error)
- func Del(ctx context.Context, key string) (aff int64, err error)
- func Get(ctx context.Context, key string) (result string, err error)
- func GetInt(ctx context.Context, key string) (result int, err error)
- func Incr(ctx context.Context, key string) (result int64, err error)
- func Init()
- func Set(ctx context.Context, key string, value interface{}, expireTime time.Duration) (result string, err error)
- func SetNX(ctx context.Context, key string, value interface{}, expireTime time.Duration) (result bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.