Help us shape the future of Go! Take the 2026 Go Developer Survey

realtime

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hub

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

func NewHub

func NewHub() *Hub

func (*Hub) Publish

func (h *Hub) Publish(event store.Event)

func (*Hub) Subscribe

func (h *Hub) Subscribe(workspaceID string) (Subscription, func())

type Subscription added in v0.4.0

type Subscription struct {
	Events <-chan store.Event
	Wake   <-chan struct{}
	Done   <-chan struct{}
}

Jump to

Keyboard shortcuts

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