backend

package
v0.0.0-...-575084b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(set *MatchSet, method string, args []any, ret any, opts []Option)

func Called

func Called(ms *MatchSet, m string, as []any) []any

Types

type MatchSet

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

type Matcher

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

type Option

type Option interface {
	// contains filtered or unexported methods
}

func AppendArgs

func AppendArgs(to *[][]any) Option

func Increment

func Increment[T constraints.Integer](counter *T) Option

func Once

func Once() Option

func Times

func Times(n uint) Option

func WaitFor

func WaitFor[T any](signal <-chan T) Option

Jump to

Keyboard shortcuts

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