events

package
v0.16.8 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emitter

type Emitter interface {
	Send(evt models.Event) error
}

func NewEmitter

func NewEmitter(logger log.Logger, cfg *service.EventsConfig) (Emitter, error)

type MockEmitter

type MockEmitter struct{}

func (*MockEmitter) Send added in v0.3.0

func (*MockEmitter) Send(evt models.Event) error

Jump to

Keyboard shortcuts

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