Documentation ¶
Index ¶
- Constants
- type MockRunner
- 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 MockRunner ¶
type MockRunner struct {
Err error
}
Click to show internal directories.
Click to hide internal directories.