eventmocks

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

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

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBus

type MockBus struct {
	mock.Mock
}

func NewMockBus

func NewMockBus() *MockBus

func (*MockBus) Publish

func (b *MockBus) Publish(ctx context.Context, events []eventbus.Event) error

func (*MockBus) Subscribe

func (b *MockBus) Subscribe(ctx context.Context, tipo eventbus.Type, handler eventbus.Handler)

Jump to

Keyboard shortcuts

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