Services_mocks

package
v0.0.0-...-5039b75 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package Services_mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIUserSvc

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

MockIUserSvc is a mock of IUserSvc interface

func NewMockIUserSvc

func NewMockIUserSvc(ctrl *gomock.Controller) *MockIUserSvc

NewMockIUserSvc creates a new mock instance

func (*MockIUserSvc) Create

func (m *MockIUserSvc) Create(username, password string) (string, error)

Create mocks base method

func (*MockIUserSvc) EXPECT

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

func (*MockIUserSvc) FindBySub

func (m *MockIUserSvc) FindBySub(sub string, user models.User) (*models.User, error)

FindBySub mocks base method

func (*MockIUserSvc) FindByUn

func (m *MockIUserSvc) FindByUn(username string, user models.User) (*models.User, error)

FindByUn mocks base method

func (*MockIUserSvc) UsernameAvailable

func (m *MockIUserSvc) UsernameAvailable(username string) (bool, error)

UsernameAvailable mocks base method

func (*MockIUserSvc) ValidatePassword

func (m *MockIUserSvc) ValidatePassword(username, password string, user models.User) (*models.User, error)

ValidatePassword mocks base method

type MockIUserSvcMockRecorder

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

MockIUserSvcMockRecorder is the mock recorder for MockIUserSvc

func (*MockIUserSvcMockRecorder) Create

func (mr *MockIUserSvcMockRecorder) Create(username, password interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockIUserSvcMockRecorder) FindBySub

func (mr *MockIUserSvcMockRecorder) FindBySub(sub, user interface{}) *gomock.Call

FindBySub indicates an expected call of FindBySub

func (*MockIUserSvcMockRecorder) FindByUn

func (mr *MockIUserSvcMockRecorder) FindByUn(username, user interface{}) *gomock.Call

FindByUn indicates an expected call of FindByUn

func (*MockIUserSvcMockRecorder) UsernameAvailable

func (mr *MockIUserSvcMockRecorder) UsernameAvailable(username interface{}) *gomock.Call

UsernameAvailable indicates an expected call of UsernameAvailable

func (*MockIUserSvcMockRecorder) ValidatePassword

func (mr *MockIUserSvcMockRecorder) ValidatePassword(username, password, user interface{}) *gomock.Call

ValidatePassword indicates an expected call of ValidatePassword

Jump to

Keyboard shortcuts

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