auth_service_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 auth_service_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockuserStore

type MockuserStore struct {
	// contains filtered or unexported fields
}

MockuserStore is a mock of userStore interface.

func NewMockuserStore

func NewMockuserStore(ctrl *gomock.Controller) *MockuserStore

NewMockuserStore creates a new mock instance.

func (*MockuserStore) AddNewUser

func (m *MockuserStore) AddNewUser(ctx context.Context, login, passwordHash string) error

AddNewUser mocks base method.

func (*MockuserStore) EXPECT

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

func (*MockuserStore) GetUser

func (m *MockuserStore) GetUser(ctx context.Context, login string) (domain.User, error)

GetUser mocks base method.

type MockuserStoreMockRecorder

type MockuserStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockuserStoreMockRecorder is the mock recorder for MockuserStore.

func (*MockuserStoreMockRecorder) AddNewUser

func (mr *MockuserStoreMockRecorder) AddNewUser(ctx, login, passwordHash interface{}) *gomock.Call

AddNewUser indicates an expected call of AddNewUser.

func (*MockuserStoreMockRecorder) GetUser

func (mr *MockuserStoreMockRecorder) GetUser(ctx, login interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

Jump to

Keyboard shortcuts

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