Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service contains the data needed to manage a service.
func (*Service) AddDependency ¶
AddDependency registers a dependency for this service.
func (*Service) SetPriority ¶
SetPriority sets the process priority for a service.
func (*Service) SetTermTimeout ¶
SetTermTimeout sets the termination timeout for a service.
type Watchdog ¶
type Watchdog struct {
// contains filtered or unexported fields
}
Watchdog contains the data needed to run a watchdog.
func (*Watchdog) AddService ¶
AddService adds a service that is to be run by the watchdog.
Click to show internal directories.
Click to hide internal directories.