mocks

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks provides mock implementations for testing HTTP handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTokenUseCase

type MockTokenUseCase struct {
	mock.Mock
}

MockTokenUseCase is a mock implementation of TokenUseCase for testing.

func (*MockTokenUseCase) Authenticate

func (m *MockTokenUseCase) Authenticate(ctx context.Context, tokenHash string) (*authDomain.Client, error)

Authenticate mocks the Authenticate method of TokenUseCase.

func (*MockTokenUseCase) Issue

Issue mocks the Issue method of TokenUseCase.

Jump to

Keyboard shortcuts

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