Documentation ¶
Overview ¶
Package service is a generated GoMock package.
Index ¶
- type MockAuther
- func (m *MockAuther) CreateAccount(arg0 domain.SignUpInput) error
- func (m *MockAuther) EXPECT() *MockAutherMockRecorder
- func (m *MockAuther) GetAccountById(arg0 int) (domain.Account, error)
- func (m *MockAuther) GetTokenByCredentials(arg0 domain.SignInInput) (string, error)
- func (m *MockAuther) ParseToken(arg0 string) (int, error)
- type MockAutherMockRecorder
- func (mr *MockAutherMockRecorder) CreateAccount(arg0 interface{}) *gomock.Call
- func (mr *MockAutherMockRecorder) GetAccountById(arg0 interface{}) *gomock.Call
- func (mr *MockAutherMockRecorder) GetTokenByCredentials(arg0 interface{}) *gomock.Call
- func (mr *MockAutherMockRecorder) ParseToken(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuther ¶
type MockAuther struct {
// contains filtered or unexported fields
}
MockAuther is a mock of Auther interface.
func NewMockAuther ¶
func NewMockAuther(ctrl *gomock.Controller) *MockAuther
NewMockAuther creates a new mock instance.
func (*MockAuther) CreateAccount ¶
func (m *MockAuther) CreateAccount(arg0 domain.SignUpInput) error
CreateAccount mocks base method.
func (*MockAuther) EXPECT ¶
func (m *MockAuther) EXPECT() *MockAutherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuther) GetAccountById ¶
func (m *MockAuther) GetAccountById(arg0 int) (domain.Account, error)
GetAccountById mocks base method.
func (*MockAuther) GetTokenByCredentials ¶
func (m *MockAuther) GetTokenByCredentials(arg0 domain.SignInInput) (string, error)
GetTokenByCredentials mocks base method.
func (*MockAuther) ParseToken ¶
func (m *MockAuther) ParseToken(arg0 string) (int, error)
ParseToken mocks base method.
type MockAutherMockRecorder ¶
type MockAutherMockRecorder struct {
// contains filtered or unexported fields
}
MockAutherMockRecorder is the mock recorder for MockAuther.
func (*MockAutherMockRecorder) CreateAccount ¶
func (mr *MockAutherMockRecorder) CreateAccount(arg0 interface{}) *gomock.Call
CreateAccount indicates an expected call of CreateAccount.
func (*MockAutherMockRecorder) GetAccountById ¶
func (mr *MockAutherMockRecorder) GetAccountById(arg0 interface{}) *gomock.Call
GetAccountById indicates an expected call of GetAccountById.
func (*MockAutherMockRecorder) GetTokenByCredentials ¶
func (mr *MockAutherMockRecorder) GetTokenByCredentials(arg0 interface{}) *gomock.Call
GetTokenByCredentials indicates an expected call of GetTokenByCredentials.
func (*MockAutherMockRecorder) ParseToken ¶
func (mr *MockAutherMockRecorder) ParseToken(arg0 interface{}) *gomock.Call
ParseToken indicates an expected call of ParseToken.