Documentation ¶
Overview ¶
Package mock_auth is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthorize ¶
type MockAuthorize struct {
// contains filtered or unexported fields
}
MockAuthorize is a mock of Authorize interface.
func NewMockAuthorize ¶
func NewMockAuthorize(ctrl *gomock.Controller) *MockAuthorize
NewMockAuthorize creates a new mock instance.
func (*MockAuthorize) CreateJWT ¶
func (m *MockAuthorize) CreateJWT(userId string) (string, error)
CreateJWT mocks base method.
func (*MockAuthorize) EXPECT ¶
func (m *MockAuthorize) EXPECT() *MockAuthorizeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAuthorizeMockRecorder ¶
type MockAuthorizeMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizeMockRecorder is the mock recorder for MockAuthorize.
func (*MockAuthorizeMockRecorder) CreateJWT ¶
func (mr *MockAuthorizeMockRecorder) CreateJWT(userId interface{}) *gomock.Call
CreateJWT indicates an expected call of CreateJWT.
func (*MockAuthorizeMockRecorder) ParseJWT ¶
func (mr *MockAuthorizeMockRecorder) ParseJWT(token interface{}) *gomock.Call
ParseJWT indicates an expected call of ParseJWT.
Click to show internal directories.
Click to hide internal directories.