Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKVTest ¶
func NewKVTest(groupID uint64, nodeID uint64) statemachine.IStateMachine
NewKVTest creates and return a new KVTest object.
Types ¶
type KVTest ¶
type KVTest struct { GroupID uint64 `json:"-"` NodeID uint64 `json:"-"` KVStore map[string]string `json:"KVStore"` Count uint64 `json:"Count"` Junk []byte `json:"Junk"` // contains filtered or unexported fields }
KVTest is a in memory key-value store struct used for testing purposes. Note that both key/value are suppose to be valid utf-8 strings.
Click to show internal directories.
Click to hide internal directories.