Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ERO = errors.New("ERO")
View Source
var ErrConcurrentUpdate = errors.New("ErrConcurrentUpdate")
Functions ¶
This section is empty.
Types ¶
type BasicReader ¶
type BasicWriter ¶
type BasicWriter interface { BasicReader Put(key, value []byte, wo *opt.WriteOptions) error Delete(key []byte, wo *opt.WriteOptions) error Write(batch *leveldb.Batch, wo *opt.WriteOptions) error }
type Flags ¶
type Flags uint
These flags are to be choosen depending on the Low Level Database impl.
type TableDB ¶
type TableDB interface { BasicWriter Snapshot() (TableSnapshot, error) Begin() (TableTx, error) }
type TableSnapshot ¶
type TableSnapshot interface { BasicReader Release() }
type TableTx ¶
type TableTx interface { BasicWriter Commit() error Discard() }
Click to show internal directories.
Click to hide internal directories.