Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Process ¶
type Process interface { // GetName returns a friendly name for the process for use in logs GetName() string // Start kicks off the task and only returns when the task has finished Start() error // Stop will try to gracefully end the task and should be safe to run regardless of whether the process is currently running Stop(context.Context) error }
Process is a long-running task that provides service functionality
Click to show internal directories.
Click to hide internal directories.