bus

package module
v0.0.0-...-3435e7c Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 1

README

MOVED

This repository has moved to https://g.fc.run/patchy/bus


Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bus

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

func NewBus

func NewBus() *Bus

func (*Bus) Announce

func (b *Bus) Announce(t string, obj any)

func (*Bus) Delete

func (b *Bus) Delete(t string, id string)

func (*Bus) SubscribeKey

func (b *Bus) SubscribeKey(t, id string, initial any) <-chan any

func (*Bus) SubscribeType

func (b *Bus) SubscribeType(t string, initial any) <-chan any

func (*Bus) UnsubscribeKey

func (b *Bus) UnsubscribeKey(t, id string, c <-chan any)

func (*Bus) UnsubscribeType

func (b *Bus) UnsubscribeType(t string, c <-chan any)

Jump to

Keyboard shortcuts

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