eventlogger

package
v0.3.67-rc-ed0ecaf Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLogger

type EventLogger struct {
	// Destination to log output to.
	Out io.Writer
	// Channel on which to receive events to be logged.
	In chan *api.EventMessage
	// contains filtered or unexported fields
}

func New

func New(c chan *api.EventMessage, interval time.Duration) *EventLogger

func (*EventLogger) Log

func (srv *EventLogger) Log()

func (*EventLogger) Run

func (srv *EventLogger) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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