Documentation ¶
Index ¶
- func Close() error
- func Delete(bucket, key string, opts ...Option) error
- func First(bucket string, v interface{}, opts ...Option) (string, error)
- func Get(bucket, key string, v interface{}, opts ...Option) error
- func Init(path string, buckets ...string) error
- func KeyList(bucket string, filter func(key string) (bool, error)) ([]string, error)
- func Put(bucket, key string, v interface{}, opts ...Option) error
- func Stats()
- type DB
- func (my *DB) Close() error
- func (my *DB) Delete(bucket string, key string, opts ...Option) error
- func (my *DB) Dump() error
- func (my *DB) First(bucket string, v interface{}) (string, error)
- func (my *DB) ForEach(bucket string, fc func(k, v []byte) error) error
- func (my *DB) Get(bucket, key string, v interface{}, opts ...Option) error
- func (my *DB) KeyList(bucket string, filter func(key string) (bool, error)) ([]string, error)
- func (my *DB) Put(bucket, key string, v interface{}, opts ...Option) error
- func (my *DB) Stats()
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DB ¶
DB db
Click to show internal directories.
Click to hide internal directories.