Documentation ¶
Index ¶
- Constants
- type FakeRunner
- type MockStorage
- func (m *MockStorage) Delete(ctx context.Context, prefix string, key string) error
- func (m *MockStorage) Get(ctx context.Context, prefix string, key string) ([]byte, error)
- func (m *MockStorage) GetAll(ctx context.Context, prefix string) ([][]byte, error)
- func (m *MockStorage) Put(ctx context.Context, prefix string, key string, value []byte) error
Constants ¶
View Source
const ( StoragePut = "Put" StorageGet = "Get" StorageGetAll = "GetAll" StorageDelete = "Delete" )
Method names for MockStorage
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRunner ¶
type FakeRunner struct {
Err error
}
Click to show internal directories.
Click to hide internal directories.