mock

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock provides test doubles for the identity gRPC AuthService.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthClient

AuthClient is a stub implementation of identityv1.AuthServiceClient for tests. Each RPC dispatches to the corresponding Fn field. Unset Fn returns a generic error.

func (*AuthClient) GetPublicKey

GetPublicKey dispatches to GetPublicKeyFn if set.

func (*AuthClient) IssueJWT

IssueJWT dispatches to IssueJWTFn if set.

func (*AuthClient) VerifyAPIKey

VerifyAPIKey dispatches to VerifyAPIKeyFn if set.

func (*AuthClient) VerifyJWT

VerifyJWT dispatches to VerifyJWTFn if set.

Jump to

Keyboard shortcuts

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