Documentation ¶
Index ¶
- type HealthChecker
- type MetricProducer
- type System
- func (r *System) AddCleanup(c func(ctx context.Context) error)
- func (r *System) AddHealthCheck(h HealthChecker)
- func (r *System) AddMetrics(m MetricProducer)
- func (r *System) AddService(s func(ctx context.Context) error)
- func (r *System) Cleanup(ctx context.Context)
- func (r *System) HealthChecks() []HealthChecker
- func (r *System) Run(delay time.Duration) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
type MetricProducer ¶
type System ¶
type System struct {
// contains filtered or unexported fields
}
func (*System) AddHealthCheck ¶
func (r *System) AddHealthCheck(h HealthChecker)
func (*System) AddMetrics ¶
func (r *System) AddMetrics(m MetricProducer)
func (*System) HealthChecks ¶
func (r *System) HealthChecks() []HealthChecker
Click to show internal directories.
Click to hide internal directories.