Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Han is the list of worker handlers implementing the actual business logic
// as distinct execution pipelines. The worker handlers configured here may be
// wrapped in administrative handler implementations to e.g. instrument
// handler execution latency and handler error rates. All worker handlers
// provided here will be executed concurrently within their own isolated
// failure domain.
Han []handler.Cooler
// Log is a standard logger interface to forward structured log messages to
// any output interface e.g. stdout.
Log logger.Interface
// Reg is the metrics interface used to wrap the internally managed handlers
// for instrumentation purposes. The metrics handlers created by this registry
// will record all worker handler execution metrics.
Reg *registry.Registry
}
Click to show internal directories.
Click to hide internal directories.