Documentation
¶
Index ¶
- Constants
- func Close()
- func Delete(key string) error
- func Exists(key string) (bool, error)
- func Get(key string) ([]byte, error)
- func HDelete(name, key string) error
- func HExists(name, key string) (bool, error)
- func HGet(name, key string) ([]byte, error)
- func HGetall(name string) ([][]byte, error)
- func HKeys(name string) ([]string, error)
- func HSet(name, key string, data interface{}) error
- func HVals(name string) ([][]byte, error)
- func Init(file string) error
- func Keys(key string) ([]string, error)
- func Set(key string, data interface{}) error
- type Boltdb
- func (b *Boltdb) Close()
- func (b *Boltdb) Delete(key string) error
- func (b *Boltdb) Exists(key string) (bool, error)
- func (b *Boltdb) Get(key string) ([]byte, error)
- func (b *Boltdb) HDelete(name, key string) (err error)
- func (b *Boltdb) HExists(name, key string) (exists bool, err error)
- func (b *Boltdb) HGet(name, key string) (reply []byte, err error)
- func (b *Boltdb) HGetall(name string) (keyAndValues [][]byte, err error)
- func (b *Boltdb) HKeys(name string) (keys []string, err error)
- func (b *Boltdb) HSet(name, key string, data interface{}) (err error)
- func (b *Boltdb) HVals(name string) (vals [][]byte, err error)
- func (b *Boltdb) Keys(key string) (keys []string, err error)
- func (b *Boltdb) Set(key string, data interface{}) error
Constants ¶
View Source
const (
DefaultBucket = "__default_bucket"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.