mock

package
v0.0.0-...-880cb89 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bus

type Bus struct {
	TimesCalled map[string]int
	CalledWith  map[string][]map[string]any
	TimesClosed int
}

func NewBus

func NewBus() *Bus

func (*Bus) Close

func (b *Bus) Close() error

func (*Bus) Event

func (b *Bus) Event(ctx context.Context, key string, data map[string]any)

Jump to

Keyboard shortcuts

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