Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
A mock store for testing.
func NewMockStore ¶
func NewMockStore() *MockStore
type MockStoreItr ¶
type MockStoreItr struct {
// contains filtered or unexported fields
}
func NewMockStoreItr ¶
func NewMockStoreItr(store map[string]([]byte)) *MockStoreItr
func (*MockStoreItr) Close ¶
func (i *MockStoreItr) Close()
func (*MockStoreItr) Domain ¶
func (i *MockStoreItr) Domain() ([]byte, []byte)
func (*MockStoreItr) Key ¶
func (i *MockStoreItr) Key() []byte
func (*MockStoreItr) Next ¶
func (i *MockStoreItr) Next()
func (*MockStoreItr) Valid ¶
func (i *MockStoreItr) Valid() bool
func (*MockStoreItr) Value ¶
func (i *MockStoreItr) Value() []byte
Click to show internal directories.
Click to hide internal directories.