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 any) *gomock.Call
Del indicates an expected call of Del.
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) GetByEmail ¶ added in v0.5.0
GetByEmail mocks base method.
func (*MockuserAccessor) GetByPassword ¶
func (m *MockuserAccessor) GetByPassword(ctx context.Context, userID uint64, password string) (user.Model, error)
GetByPassword mocks base method.
type MockuserAccessorMockRecorder ¶
type MockuserAccessorMockRecorder struct {
// contains filtered or unexported fields
}
MockuserAccessorMockRecorder is the mock recorder for MockuserAccessor.
func (*MockuserAccessorMockRecorder) GetByEmail ¶ added in v0.5.0
func (mr *MockuserAccessorMockRecorder) GetByEmail(ctx, email any) *gomock.Call
GetByEmail indicates an expected call of GetByEmail.
func (*MockuserAccessorMockRecorder) GetByPassword ¶
func (mr *MockuserAccessorMockRecorder) GetByPassword(ctx, userID, password any) *gomock.Call
GetByPassword indicates an expected call of GetByPassword.