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.
Click to show internal directories.
Click to hide internal directories.