Documentation
¶
Overview ¶
Package mock_handlers is a generated GoMock package.
Index ¶
- type MockRepository
- func (m *MockRepository) Close() error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) GetUserStorage(arg0 context.Context, arg1 string) map[string]string
- func (m *MockRepository) Ping(arg0 context.Context) error
- func (m *MockRepository) Restore(arg0 context.Context, arg1 string) (string, error)
- func (m *MockRepository) Store(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockRepository) StoreBatch(arg0 context.Context, arg1 string, arg2 map[string]string) (map[string]string, error)
- func (m *MockRepository) Unstore(arg0 context.Context, arg1 string, arg2 []string)
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) Close() *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetUserStorage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Ping(arg0 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Restore(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Store(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) StoreBatch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Unstore(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) GetUserStorage ¶
GetUserStorage mocks base method.
func (*MockRepository) Ping ¶
func (m *MockRepository) Ping(arg0 context.Context) error
Ping mocks base method.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) Close ¶
func (mr *MockRepositoryMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRepositoryMockRecorder) GetUserStorage ¶
func (mr *MockRepositoryMockRecorder) GetUserStorage(arg0, arg1 interface{}) *gomock.Call
GetUserStorage indicates an expected call of GetUserStorage.
func (*MockRepositoryMockRecorder) Ping ¶
func (mr *MockRepositoryMockRecorder) Ping(arg0 interface{}) *gomock.Call
Ping indicates an expected call of Ping.
func (*MockRepositoryMockRecorder) Restore ¶
func (mr *MockRepositoryMockRecorder) Restore(arg0, arg1 interface{}) *gomock.Call
Restore indicates an expected call of Restore.
func (*MockRepositoryMockRecorder) Store ¶
func (mr *MockRepositoryMockRecorder) Store(arg0, arg1, arg2 interface{}) *gomock.Call
Store indicates an expected call of Store.
func (*MockRepositoryMockRecorder) StoreBatch ¶
func (mr *MockRepositoryMockRecorder) StoreBatch(arg0, arg1, arg2 interface{}) *gomock.Call
StoreBatch indicates an expected call of StoreBatch.
func (*MockRepositoryMockRecorder) Unstore ¶
func (mr *MockRepositoryMockRecorder) Unstore(arg0, arg1, arg2 interface{}) *gomock.Call
Unstore indicates an expected call of Unstore.