pubsub

package
v0.37.13 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 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