Documentation
¶
Index ¶
- Variables
- func Decrement(key string, count uint64) (uint64, error)
- func Delete(key string) error
- func Get(key string, val interface{}) error
- func Increment(key string, count uint64) (uint64, error)
- func NewContext()
- func Set(key string, val interface{}, d time.Duration) error
- func SetIfNotExists(key string, val interface{}, d time.Duration) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") ErrKeyExist = errors.New("key already exists") )
Functions ¶
func NewContext ¶
func NewContext()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.