mock

package
v0.0.0-...-2b7dcb4 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	Ctx   context.Context
	Level string
	Err   error
}

type Reporter

type Reporter struct {
	Calls []Params
}

func NewReporter

func NewReporter() *Reporter

func (*Reporter) ReportWithLevel

func (r *Reporter) ReportWithLevel(ctx context.Context, level string, err error) error

Jump to

Keyboard shortcuts

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