observer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 1 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event interface {
	Type() EventType
}

type EventType

type EventType string
const (
	EventStatus EventType = "status"
	EventStats  EventType = "stats"
)

type Observer

type Observer interface {
	Observe(ctx context.Context, events []Event, opts ...Option) error
}

type Option

type Option func(opts *Options)

type Options

type Options struct{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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