events

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 4 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 {
	StartTime    time.Time
	CategoryName string
	Data         []any
	Level        levels.Level
	Context      context.Context
	Pid          int
}

type EventWriter

type EventWriter interface {
	WriteEvent(e *Event) (n int, err error)
}

type EventWriterTo

type EventWriterTo interface {
	WriteEventTo(w io.Writer, e *Event) (n int64, err error)
}

Jump to

Keyboard shortcuts

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