mock

package
v0.0.0-...-1bf2de4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetEndpoint = cav.GetEndpoint

Functions

func NewClient

func NewClient(opts ...OptionFunc) (cav.Client, error)

func SetMockResponse

func SetMockResponse(ep *cav.Endpoint, mockResponseData any, mockResponseStatusCode *int)

Types

type OptionFunc

type OptionFunc func(*Options) error

func WithLogger

func WithLogger(logger *slog.Logger) OptionFunc

type Options

type Options struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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