Documentation ¶
Overview ¶
Package server_mock is a generated GoMock package.
Index ¶
- type MockauthService
- func (m *MockauthService) AuthenticateUser(ctx context.Context, token string) (domain.User, error)
- func (m *MockauthService) EXPECT() *MockauthServiceMockRecorder
- func (m *MockauthService) SignIn(ctx context.Context, login, password string) (string, error)
- func (m *MockauthService) SignUp(ctx context.Context, login, password string) (string, error)
- type MockauthServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockauthService ¶
type MockauthService struct {
// contains filtered or unexported fields
}
MockauthService is a mock of authService interface.
func NewMockauthService ¶
func NewMockauthService(ctrl *gomock.Controller) *MockauthService
NewMockauthService creates a new mock instance.
func (*MockauthService) AuthenticateUser ¶
AuthenticateUser mocks base method.
func (*MockauthService) EXPECT ¶
func (m *MockauthService) EXPECT() *MockauthServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockauthServiceMockRecorder ¶
type MockauthServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockauthServiceMockRecorder is the mock recorder for MockauthService.
func (*MockauthServiceMockRecorder) AuthenticateUser ¶
func (mr *MockauthServiceMockRecorder) AuthenticateUser(ctx, token interface{}) *gomock.Call
AuthenticateUser indicates an expected call of AuthenticateUser.
func (*MockauthServiceMockRecorder) SignIn ¶
func (mr *MockauthServiceMockRecorder) SignIn(ctx, login, password interface{}) *gomock.Call
SignIn indicates an expected call of SignIn.
func (*MockauthServiceMockRecorder) SignUp ¶
func (mr *MockauthServiceMockRecorder) SignUp(ctx, login, password interface{}) *gomock.Call
SignUp indicates an expected call of SignUp.
Click to show internal directories.
Click to hide internal directories.