eventlog

package
v0.0.0-...-e38a99a Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEvent

func NewEvent(name, op string) event

NewEvent create an event instance

Types

type EventLog

type EventLog interface {
	// Write write event info to output writer
	Write(event event) error
}

EventLog the event log recorder

func New

func New(w io.Writer) EventLog

New create an EventLog instance with io.Writer

Jump to

Keyboard shortcuts

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