Documentation ¶
Index ¶
- Variables
- func Connect()
- func DelDefault(key string) error
- func ExistsDefault(key string) (*bool, error)
- func GetDefault(name string, rec encoding.BinaryUnmarshaler) error
- func SetDefault(key string, value interface{}, exp time.Duration) error
- func SetNXDefault(key string, value interface{}, exp time.Duration) error
- type DelFunc
- type ExistsFunc
- type GetFunc
- type SetFunc
- type SetNXFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var C r.Cmdable
View Source
var Ctx context.Context
Functions ¶
func DelDefault ¶ added in v0.0.38
func ExistsDefault ¶
func GetDefault ¶
func GetDefault(name string, rec encoding.BinaryUnmarshaler) error
Types ¶
type GetFunc ¶
type GetFunc func(string, encoding.BinaryUnmarshaler) error
var Get GetFunc = GetDefault
type SetFunc ¶
var Set SetFunc = SetDefault
Click to show internal directories.
Click to hide internal directories.