Documentation ¶
Index ¶
- type DB
- func (db *DB) BytesToId(b []byte) int
- func (db *DB) Create(bucket string, key []byte, value []byte) (err error)
- func (db *DB) CreateID(bucket string) (id int)
- func (db *DB) Delete(bucket string, key []byte)
- func (db *DB) IdToBytes(id int) []byte
- func (db *DB) Read(bucket string, key []byte) (value []byte, err error)
- func (db *DB) Stop() error
- func (db *DB) Update(bucket string, key []byte, value []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.