Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockStorage
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) Get(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *MockStorage) Remove(arg0 context.Context, arg1 string) error
- func (m *MockStorage) Set(arg0 context.Context, arg1 string, arg2 []byte, arg3 time.Duration) error
- type MockStorageMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage
func (*MockStorageMockRecorder) Get ¶
func (mr *MockStorageMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockStorageMockRecorder) Remove ¶
func (mr *MockStorageMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockStorageMockRecorder) Set ¶
func (mr *MockStorageMockRecorder) Set(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Set indicates an expected call of Set
Click to show internal directories.
Click to hide internal directories.