Documentation ¶
Overview ¶
Package nutsdb use the https://github.com/xujiajun/nutsdb as cache driver
Index ¶
- Constants
- type NutsDB
- func (c *NutsDB) Clear() error
- func (c *NutsDB) Close() error
- func (c *NutsDB) Del(key string) error
- func (c *NutsDB) DelMulti(keys []string) error
- func (c *NutsDB) Get(key string) interface{}
- func (c *NutsDB) GetMulti(keys []string) map[string]interface{}
- func (c *NutsDB) Has(key string) bool
- func (c *NutsDB) Set(key string, val interface{}, ttl time.Duration) (err error)
- func (c *NutsDB) SetMulti(values map[string]interface{}, ttl time.Duration) (err error)
Constants ¶
View Source
const Name = "nutsdb"
Name driver name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.