Documentation ¶
Index ¶
- type Backend
- func (_m *Backend) Close() error
- func (_m *Backend) Get(bucket string, key string) ([]byte, error)
- func (_m *Backend) Keys(bucket string) ([]string, error)
- func (_m *Backend) List(bucket string) ([][]byte, error)
- func (_m *Backend) Path(key string) string
- func (_m *Backend) Put(bucket string, key string, value []byte) error
- func (_m *Backend) Remove(bucket string, key string) error
- func (_m *Backend) Truncate(bucket string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
Backend is an autogenerated mock type for the Backend type
func NewBackend ¶
NewBackend creates a new instance of Backend. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
Click to show internal directories.
Click to hide internal directories.