Documentation ¶
Index ¶
- type LeveldbStore
- func (ds *LeveldbStore) AddPrefix(prefix string) *LeveldbStore
- func (ds *LeveldbStore) Apply(key string, value []byte) error
- func (ds *LeveldbStore) Close() error
- func (ds *LeveldbStore) Delete(key string) error
- func (ds *LeveldbStore) Get(key string) ([]byte, error)
- func (ds *LeveldbStore) List() ([][]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeveldbStore ¶
type LeveldbStore struct {
// contains filtered or unexported fields
}
func NewLeveldbStore ¶
func NewLeveldbStore(directory string) (*LeveldbStore, error)
func (*LeveldbStore) AddPrefix ¶
func (ds *LeveldbStore) AddPrefix(prefix string) *LeveldbStore
func (*LeveldbStore) Close ¶
func (ds *LeveldbStore) Close() error
func (*LeveldbStore) Delete ¶
func (ds *LeveldbStore) Delete(key string) error
func (*LeveldbStore) List ¶
func (ds *LeveldbStore) List() ([][]byte, error)
Click to show internal directories.
Click to hide internal directories.