Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
ReadOnly bool
// Fault simulation
SimulateReadErrors bool
SimulateWriteErrors bool
SimulateFlushErrors bool
SimulateBitRotErrors bool
// Introspection / fault injection interface
GetCallback func(k, v []byte) []byte
PutCallback func(k, v []byte) ([]byte, []byte, error)
DeleteCallback func(k []byte) ([]byte, error)
}
Click to show internal directories.
Click to hide internal directories.