events

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Publish

func Publish(e Event)

func Subscribe

func Subscribe(buffer int) (string, <-chan Event, func())

Types

type Event

type Event struct {
	Type    EventType
	Version int64
	Source  string
	At      time.Time
}

type EventType

type EventType string
const ConfigChanged EventType = "ConfigChanged"

Jump to

Keyboard shortcuts

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