middleware_mock

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2026 License: MIT Imports: 4 Imported by: 0

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

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.

func (*MockAuthClient) Verify

func (m *MockAuthClient) Verify(ctx context.Context, tokenStr string) error

Verify 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.

func (*MockAuthClientMockRecorder) Verify

func (mr *MockAuthClientMockRecorder) Verify(ctx, tokenStr any) *gomock.Call

Verify indicates an expected call of Verify.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL