fake

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fake

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

func New

func New() *Fake

func (*Fake) API

func (f *Fake) API() api.Interface

func (*Fake) Run

func (f *Fake) Run(ctx context.Context) error

func (*Fake) WithAPI

func (f *Fake) WithAPI(a api.Interface) *Fake

func (*Fake) WithRun

func (f *Fake) WithRun(fn func(context.Context) error) *Fake

Jump to

Keyboard shortcuts

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