events

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

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

func NewBroker

func NewBroker() *Broker

func (*Broker) Publish

func (b *Broker) Publish(event protocol.Event)

func (*Broker) Subscribe

func (b *Broker) Subscribe(ctx context.Context) <-chan protocol.Event

func (*Broker) SubscribeFrom

func (b *Broker) SubscribeFrom(ctx context.Context, lastEventID string) <-chan protocol.Event

Jump to

Keyboard shortcuts

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