Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCritical ¶
Creates monitor that will shutdown all supervisor when critical runnable stopped
Types ¶
type ConsulRegistration ¶
type ConsulRegistration struct { // Keep service registered even if stopped Permanent bool `json:"permanent,omitempty" yaml:"permanent,omitempty" ini:"permanent,omitempty"` // Name of service Label string `json:"label" yaml:"label" ini:"label"` }
Define options for consul registration
Click to show internal directories.
Click to hide internal directories.