Documentation ¶
Index ¶
- type MockScribble
- func (m *MockScribble) ClearStore()
- func (m *MockScribble) Delete(collection string, key string) error
- func (m *MockScribble) GetCollection(collection string) map[string]interface{}
- func (m *MockScribble) Read(collection string, key string, v interface{}) error
- func (m *MockScribble) ReadAll(collection string) ([]string, error)
- func (m *MockScribble) SetCollection(collection string, items map[string]interface{})
- func (m *MockScribble) Write(collection string, key string, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScribble ¶
type MockScribble struct {
// contains filtered or unexported fields
}
func NewMockScribble ¶
func NewMockScribble() *MockScribble
func (*MockScribble) ClearStore ¶
func (m *MockScribble) ClearStore()
func (*MockScribble) Delete ¶
func (m *MockScribble) Delete(collection string, key string) error
Delete
func (*MockScribble) GetCollection ¶
func (m *MockScribble) GetCollection(collection string) map[string]interface{}
func (*MockScribble) Read ¶
func (m *MockScribble) Read(collection string, key string, v interface{}) error
func (*MockScribble) ReadAll ¶
func (m *MockScribble) ReadAll(collection string) ([]string, error)
ReadAll
func (*MockScribble) SetCollection ¶
func (m *MockScribble) SetCollection(collection string, items map[string]interface{})
Click to show internal directories.
Click to hide internal directories.