Documentation ¶
Overview ¶
Package Services_mocks is a generated GoMock package.
Index ¶
- type MockIUserSvc
- func (m *MockIUserSvc) Create(username, password string) (string, error)
- func (m *MockIUserSvc) EXPECT() *MockIUserSvcMockRecorder
- func (m *MockIUserSvc) FindBySub(sub string, user models.User) (*models.User, error)
- func (m *MockIUserSvc) FindByUn(username string, user models.User) (*models.User, error)
- func (m *MockIUserSvc) UsernameAvailable(username string) (bool, error)
- func (m *MockIUserSvc) ValidatePassword(username, password string, user models.User) (*models.User, error)
- type MockIUserSvcMockRecorder
- func (mr *MockIUserSvcMockRecorder) Create(username, password interface{}) *gomock.Call
- func (mr *MockIUserSvcMockRecorder) FindBySub(sub, user interface{}) *gomock.Call
- func (mr *MockIUserSvcMockRecorder) FindByUn(username, user interface{}) *gomock.Call
- func (mr *MockIUserSvcMockRecorder) UsernameAvailable(username interface{}) *gomock.Call
- func (mr *MockIUserSvcMockRecorder) ValidatePassword(username, password, user interface{}) *gomock.Call
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 ¶
func (m *MockIUserSvc) EXPECT() *MockIUserSvcMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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