Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Manifold ¶
func Manifold(config ManifoldConfig) dependency.Manifold
Types ¶
type Config ¶
type Config struct { Raft *raft.Raft Hub *pubsub.StructuredHub }
Config holds the configuration necessary to run a worker for maintaining the raft cluster configuration.
type ManifoldConfig ¶
type ManifoldConfig struct { RaftName string CentralHubName string NewWorker func(Config) (worker.Worker, error) }
ManifoldConfig holds the information necessary to run a worker for maintaining the raft cluster configuration in a dependency.Engine.
Click to show internal directories.
Click to hide internal directories.