server_mock

package
v0.0.0-...-e0ef36e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package server_mock is a generated GoMock package.

Index

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

func (m *MockauthService) AuthenticateUser(ctx context.Context, token string) (domain.User, error)

AuthenticateUser mocks base method.

func (*MockauthService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockauthService) SignIn

func (m *MockauthService) SignIn(ctx context.Context, login, password string) (string, error)

SignIn mocks base method.

func (*MockauthService) SignUp

func (m *MockauthService) SignUp(ctx context.Context, login, password string) (string, error)

SignUp mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL