Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HookSignals ¶
func HookSignals() func(*Conductor)
This hooks SIGTERM and SIGINT and will shut down the Conductor if one is detected.
func ShutdownTimeout ¶
Sets the time allowed for a service to stop before timing out
func StartupTimeout ¶
Sets the time allowed for a service to start before timing out
Types ¶
type Conductor ¶
type Conductor struct {
// contains filtered or unexported fields
}
func NewConductor ¶
Create a new conductor instance, accepts Option funcs (see README.md)
for changing default behaviours
Click to show internal directories.
Click to hide internal directories.