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

pubsub

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Load message buses

func RegisterMessageBus

func RegisterMessageBus(name string, factoryMethod func() pubsub.PubSub)

RegisterMessageBus registers a new message bus

Types

type Registry

type Registry interface {
	CreatePubSub(name string) (pubsub.PubSub, error)
}

Registry is the interface for callers to get registered pub-sub components

func NewRegistry

func NewRegistry() Registry

NewRegistry returns a new pub sub registry

Jump to

Keyboard shortcuts

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