Versions in this module Expand all Collapse all v1 v1.0.1 May 10, 2021 v1.0.0 May 9, 2021 Changes in this version + var ErrNotWatching = errors.New("not watching") + type Monitor interface + Check func(service string) error + Reap func(service string) error + Run func() error + Status func(service string) (Status, error) + Stop func() error + Watch func(service string) error + func NewMonitor(opts ...Option) Monitor + type Option func(*Options) + func Client(c client.Client) Option + func Registry(r registry.Registry) Option + type Options struct + Client client.Client + Registry registry.Registry + type Status struct + Code StatusCode + Error string + Info string + type StatusCode int + const StatusFailed + const StatusRunning + const StatusUnknown Incompatible versions in this module v2.3.0+incompatible May 9, 2021