monitor

package
v1.1.3-jwt-1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventInfo

type EventInfo struct {
	RawToken     string
	CorelationID string
	Name         string
	Payload      string
}

EventInfo represents the message received from queu

type EventMonitor

type EventMonitor interface {
	Start()
	Stop()
	// contains filtered or unexported methods
}

EventMonitor represents an interface used to monitor Events

func NewEventMonitorForQueue added in v0.0.68

func NewEventMonitorForQueue(logger *zerolog.Logger, queueName string, eventsToMonitor []string, eventSignal chan *EventInfo, appConfig *config.Config) (EventMonitor, error)

NewEventMonitorForQueue creates a new eventMonitor that publishes received events from a named queue to the specified channel

Jump to

Keyboard shortcuts

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