Documentation ¶
Index ¶
- type DBcache
- func (db *DBcache) Batch([]shared.DBPatch) error
- func (db *DBcache) Close() error
- func (db *DBcache) Delete(key string) error
- func (db *DBcache) Export(des string) error
- func (db *DBcache) Get(key string) (interface{}, int, error)
- func (db *DBcache) Init(dbname string, dbpath string) error
- func (db *DBcache) Load(src string) error
- func (db *DBcache) Put(key string, value interface{}, timeout int, overwrite bool) error
- type DBpersistent
- func (db *DBpersistent) Batch([]shared.DBPatch) error
- func (db *DBpersistent) Close() error
- func (db *DBpersistent) Delete(key string) error
- func (db *DBpersistent) Export(path string) error
- func (db *DBpersistent) Get(key string) ([]byte, error)
- func (db *DBpersistent) Init(dbname string, dbpath string) error
- func (db *DBpersistent) Put(key string, value []byte, overwrite bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBcache ¶
type DBpersistent ¶
func (*DBpersistent) Close ¶
func (db *DBpersistent) Close() error
func (*DBpersistent) Delete ¶
func (db *DBpersistent) Delete(key string) error
func (*DBpersistent) Export ¶
func (db *DBpersistent) Export(path string) error
Click to show internal directories.
Click to hide internal directories.