Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockIAuth
- func (m *MockIAuth) API() gin.HandlerFunc
- func (m *MockIAuth) Auth(arg0 auth.UserAuth) (string, error)
- func (m *MockIAuth) EXPECT() *MockIAuthMockRecorder
- func (m *MockIAuth) GetRequestCredential(arg0 string) (string, error)
- func (m *MockIAuth) Validate(arg0, arg1 string) error
- func (m *MockIAuth) Verify(arg0 models.User) error
- func (m *MockIAuth) View() gin.HandlerFunc
- type MockIAuthMockRecorder
- func (mr *MockIAuthMockRecorder) API() *gomock.Call
- func (mr *MockIAuthMockRecorder) Auth(arg0 interface{}) *gomock.Call
- func (mr *MockIAuthMockRecorder) GetRequestCredential(arg0 interface{}) *gomock.Call
- func (mr *MockIAuthMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIAuthMockRecorder) Verify(arg0 interface{}) *gomock.Call
- func (mr *MockIAuthMockRecorder) View() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIAuth ¶
type MockIAuth struct {
// contains filtered or unexported fields
}
MockIAuth is a mock of IAuth interface
func NewMockIAuth ¶
func NewMockIAuth(ctrl *gomock.Controller) *MockIAuth
NewMockIAuth creates a new mock instance
func (*MockIAuth) EXPECT ¶
func (m *MockIAuth) EXPECT() *MockIAuthMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIAuth) GetRequestCredential ¶
GetRequestCredential mocks base method
type MockIAuthMockRecorder ¶
type MockIAuthMockRecorder struct {
// contains filtered or unexported fields
}
MockIAuthMockRecorder is the mock recorder for MockIAuth
func (*MockIAuthMockRecorder) API ¶
func (mr *MockIAuthMockRecorder) API() *gomock.Call
API indicates an expected call of API
func (*MockIAuthMockRecorder) Auth ¶
func (mr *MockIAuthMockRecorder) Auth(arg0 interface{}) *gomock.Call
Auth indicates an expected call of Auth
func (*MockIAuthMockRecorder) GetRequestCredential ¶
func (mr *MockIAuthMockRecorder) GetRequestCredential(arg0 interface{}) *gomock.Call
GetRequestCredential indicates an expected call of GetRequestCredential
func (*MockIAuthMockRecorder) Validate ¶
func (mr *MockIAuthMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call
Validate indicates an expected call of Validate
func (*MockIAuthMockRecorder) Verify ¶
func (mr *MockIAuthMockRecorder) Verify(arg0 interface{}) *gomock.Call
Verify indicates an expected call of Verify
func (*MockIAuthMockRecorder) View ¶
func (mr *MockIAuthMockRecorder) View() *gomock.Call
View indicates an expected call of View
Click to show internal directories.
Click to hide internal directories.