Documentation ¶
Index ¶
- Variables
- type LevelDbBackend
- func (be *LevelDbBackend) Close()
- func (be *LevelDbBackend) Del(bucket, key string) error
- func (be *LevelDbBackend) Get(bucket, key string) ([]byte, error)
- func (be *LevelDbBackend) Put(bucket, key string, data []byte) error
- func (be *LevelDbBackend) Scan(bucket, startKey, endKey string, limit int, keysOnly bool) (database.BackendIterator, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EOF = errors.New("EOF") NotFound = errors.New("Not Found") )
Functions ¶
This section is empty.
Types ¶
type LevelDbBackend ¶
type LevelDbBackend struct {
// contains filtered or unexported fields
}
func NewLevelDbBackend ¶
func NewLevelDbBackend(path string) *LevelDbBackend
func (*LevelDbBackend) Close ¶
func (be *LevelDbBackend) Close()
func (*LevelDbBackend) Del ¶
func (be *LevelDbBackend) Del(bucket, key string) error
func (*LevelDbBackend) Scan ¶
func (be *LevelDbBackend) Scan(bucket, startKey, endKey string, limit int, keysOnly bool) (database.BackendIterator, error)
Click to show internal directories.
Click to hide internal directories.