mock_scribble

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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{})

func (*MockScribble) Write

func (m *MockScribble) Write(collection string, key string, v interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL