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