Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mockcacher ¶
type Mockcacher struct {
// contains filtered or unexported fields
}
Mockcacher is a mock of cacher interface.
func NewMockcacher ¶
func NewMockcacher(ctrl *gomock.Controller) *Mockcacher
NewMockcacher creates a new mock instance.
func (*Mockcacher) Del ¶
func (m *Mockcacher) Del(ctx context.Context, key string) error
Del mocks base method.
func (*Mockcacher) EXPECT ¶
func (m *Mockcacher) EXPECT() *MockcacherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockcacherMockRecorder ¶
type MockcacherMockRecorder struct {
// contains filtered or unexported fields
}
MockcacherMockRecorder is the mock recorder for Mockcacher.
func (*MockcacherMockRecorder) Del ¶
func (mr *MockcacherMockRecorder) Del(ctx, key interface{}) *gomock.Call
Del indicates an expected call of Del.
func (*MockcacherMockRecorder) Get ¶
func (mr *MockcacherMockRecorder) Get(ctx, key, target interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockcacherMockRecorder) Set ¶
func (mr *MockcacherMockRecorder) Set(ctx, key, value, lifetime interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockuserAccessor ¶
type MockuserAccessor struct {
// contains filtered or unexported fields
}
MockuserAccessor is a mock of userAccessor interface.
func NewMockuserAccessor ¶
func NewMockuserAccessor(ctrl *gomock.Controller) *MockuserAccessor
NewMockuserAccessor creates a new mock instance.
func (*MockuserAccessor) EXPECT ¶
func (m *MockuserAccessor) EXPECT() *MockuserAccessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockuserAccessor) GetByPassword ¶
func (m *MockuserAccessor) GetByPassword(ctx context.Context, email, password string) (*model.User, error)
GetByPassword mocks base method.
type MockuserAccessorMockRecorder ¶
type MockuserAccessorMockRecorder struct {
// contains filtered or unexported fields
}
MockuserAccessorMockRecorder is the mock recorder for MockuserAccessor.
func (*MockuserAccessorMockRecorder) GetByPassword ¶
func (mr *MockuserAccessorMockRecorder) GetByPassword(ctx, email, password interface{}) *gomock.Call
GetByPassword indicates an expected call of GetByPassword.