Documentation
¶
Overview ¶
Package process builds the Supervisor from config: the stub (the default; starts nothing) or real operating-system processes (exec). A supervisor is not run through the client tier: a process's lifetime is not a call that a timeout or a retry can wrap; the readiness wait and the stop deadline are its own.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromConfig ¶
func NewFromConfig(cfg Config) (interfaces.Supervisor, error)
NewFromConfig returns the supervisor cfg.Kind selects; an unknown kind is CodeInvalidInput. It starts nothing.
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package exec is the Supervisor that runs real operating-system processes.
|
Package exec is the Supervisor that runs real operating-system processes. |
|
Package stub is the Supervisor that starts nothing: every process is ready at once and exits cleanly when stopped.
|
Package stub is the Supervisor that starts nothing: every process is ready at once and exits cleanly when stopped. |
Click to show internal directories.
Click to hide internal directories.