pubsub

package
v23.0.15+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewPublisher = pubsub.NewPublisher

NewPublisher creates a new pub/sub publisher to broadcast messages. The duration is used as the send timeout as to not block the publisher publishing messages to other clients if one client is slow or unresponsive. The buffer is used when creating new channels for subscribers.

Deprecated: use github.com/moby/pubsub.NewPublisher

Functions

This section is empty.

Types

type Publisher deprecated

type Publisher = pubsub.Publisher

Publisher is basic pub/sub structure. Allows to send events and subscribe to them. Can be safely used from multiple goroutines.

Deprecated: use github.com/moby/pubsub.Publisher

Jump to

Keyboard shortcuts

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