Help us shape the future of Go! Take the 2026 Go Developer Survey

pubsub

package
v0.37.10 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogConsumer

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

LogConsumer implements protocol_state.StateMachineTelemetryConsumer and logs all events.

func NewLogConsumer

func NewLogConsumer(log zerolog.Logger) *LogConsumer

func (*LogConsumer) OnInvalidServiceEvent

func (l *LogConsumer) OnInvalidServiceEvent(event flow.ServiceEvent, err error)

func (*LogConsumer) OnServiceEventProcessed

func (l *LogConsumer) OnServiceEventProcessed(event flow.ServiceEvent)

func (*LogConsumer) OnServiceEventReceived

func (l *LogConsumer) OnServiceEventReceived(event flow.ServiceEvent)

Jump to

Keyboard shortcuts

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