pubsub

package
v0.5.85 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: AGPL-3.0, AGPL-3.0-or-later Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPubSub

func NewPubSub(ctx context.Context, handlers ...pubsub.TopicHandler) *memberPubSub

func PrefollowHandlers added in v0.5.85

func PrefollowHandlers(userIds ...string) (handlers []pubsub.TopicHandler)

Types

type PubsubServerNodeConnector

type PubsubServerNodeConnector interface {
	Node() warpnet.P2PNode
	NodeInfo() warpnet.NodeInfo
	SelfStream(path stream.WarpRoute, data any) (_ []byte, err error)
	GenericStream(nodeIdStr string, path stream.WarpRoute, data any) (_ []byte, err error)
	RoutingDiscovery() warpnet.Discovery
}

Jump to

Keyboard shortcuts

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