Exemple #1
0
// Manifold returns a Manifold that encapsulates a *Tracker and exposes it as
// an environs.Environ resource.
func Manifold(config ManifoldConfig) dependency.Manifold {
	manifold := util.ApiManifold(
		util.ApiManifoldConfig(config),
		manifoldStart,
	)
	manifold.Output = manifoldOutput
	return manifold
}
Exemple #2
0
// Manifold returns a dependency manifold that runs a proxy updater worker,
// using the api connection resource named in the supplied config.
func Manifold(config ManifoldConfig) dependency.Manifold {
	return util.ApiManifold(util.ApiManifoldConfig(config), newWorker)
}
Exemple #3
0
// Manifold returns a Manifold that encapsulates the addresser worker.
func Manifold(config ManifoldConfig) dependency.Manifold {
	return util.ApiManifold(
		util.ApiManifoldConfig(config),
		manifoldStart,
	)
}