centralhub

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Manifold

func Manifold(config ManifoldConfig) dependency.Manifold

Manifold returns a manifold whose worker simply provides the central hub. This hub is a dependency for any other workers that need the hub.

Types

type ManifoldConfig

type ManifoldConfig struct {
	StateConfigWatcherName string
	// TODO: remove Hub config when apiserver and peergrouper can depend on
	// this hub.
	Hub *pubsub.StructuredHub
}

ManifoldConfig provides the dependencies for Manifold.

Jump to

Keyboard shortcuts

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