eventcollector

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type      string
	Msg       string
	Timestamp int64
}

func (Event) String

func (e Event) String() string

type EventCollector

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

func New

func (*EventCollector) Collect

func (ec *EventCollector) Collect(key, msg string)

func (*EventCollector) Stop

func (ec *EventCollector) Stop()

type Exporter

type Exporter func([]*Event)

Jump to

Keyboard shortcuts

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