Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrStoreError = errors.New("LevelDB error") ErrStoreGetError = errors.New("LevelDB error during Get operation") ErrNotFound = errors.New("LevelDB: item not found") ErrStorePutError = errors.New("LevelDB error during Put operation") ErrStoreDelError = errors.New("LevelDB error during Delete operation") )
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Table string Key Key Value Value ClientID ids.ID CommandID ids.CommandID Operation Operation }
type Store ¶
StateMachine interface provides execution of command against database the implementation should be thread safe
type TxCommandMeta ¶
Click to show internal directories.
Click to hide internal directories.