mock_service

package
v0.5.20 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIUser

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

MockIUser is a mock of IUser interface.

func NewMockIUser

func NewMockIUser(ctrl *gomock.Controller) *MockIUser

NewMockIUser creates a new mock instance.

func (*MockIUser) Auth

func (m *MockIUser) Auth(ctx context.Context, user *domain.User) (bool, error)

Auth mocks base method.

func (*MockIUser) EXPECT

func (m *MockIUser) EXPECT() *MockIUserMockRecorder

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

func (*MockIUser) New

func (m *MockIUser) New(ctx context.Context, user *domain.User) error

New mocks base method.

func (*MockIUser) ResetContainer

func (m *MockIUser) ResetContainer(ctx context.Context, user *domain.User) error

ResetContainer mocks base method.

type MockIUserMockRecorder

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

MockIUserMockRecorder is the mock recorder for MockIUser.

func (*MockIUserMockRecorder) Auth

func (mr *MockIUserMockRecorder) Auth(ctx, user interface{}) *gomock.Call

Auth indicates an expected call of Auth.

func (*MockIUserMockRecorder) New

func (mr *MockIUserMockRecorder) New(ctx, user interface{}) *gomock.Call

New indicates an expected call of New.

func (*MockIUserMockRecorder) ResetContainer

func (mr *MockIUserMockRecorder) ResetContainer(ctx, user interface{}) *gomock.Call

ResetContainer indicates an expected call of ResetContainer.

Jump to

Keyboard shortcuts

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