Documentation
¶
Overview ¶
Package middleware_mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthClient ¶
type MockAuthClient struct {
// contains filtered or unexported fields
}
MockAuthClient is a mock of AuthClient interface.
func NewMockAuthClient ¶
func NewMockAuthClient(ctrl *gomock.Controller) *MockAuthClient
NewMockAuthClient creates a new mock instance.
func (*MockAuthClient) EXPECT ¶
func (m *MockAuthClient) EXPECT() *MockAuthClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthClient) ParseToken ¶
func (m *MockAuthClient) ParseToken(tokenStr string) (*auth.Claims, error)
ParseToken mocks base method.
type MockAuthClientMockRecorder ¶
type MockAuthClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthClientMockRecorder is the mock recorder for MockAuthClient.
func (*MockAuthClientMockRecorder) ParseToken ¶
func (mr *MockAuthClientMockRecorder) ParseToken(tokenStr any) *gomock.Call
ParseToken indicates an expected call of ParseToken.
Click to show internal directories.
Click to hide internal directories.