Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthorizer ¶
MockAuthorizer is a mock implementation of the Authorizer interface.
type MockClient ¶
type MockClient struct {
MockReadDeleter
}
MockClient is a mock implementation of the Client interface.
type MockReadDeleter ¶
MockReadDeleter is a mock implementation of the ReadDeleter interface.
func (*MockReadDeleter) Delete ¶
func (mrd *MockReadDeleter) Delete(key string) error
Delete is a mock implementation of the ReadDeleter's Delete method.
func (*MockReadDeleter) Get ¶
func (mrd *MockReadDeleter) Get(key string) (io.ReadCloser, error)
Get is a mock implementation of the ReadDeleter's Get method.
type MockStorage ¶
type MockStorage struct {
MockReadDeleter
}
MockStorage is a mock implementation of the Storage interface.
func (*MockStorage) Put ¶
func (ms *MockStorage) Put(key string) (io.WriteCloser, error)
Put is a mock implementation of the Storage's Put method.
Click to show internal directories.
Click to hide internal directories.