Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lifecycle ¶
type Lifecycle struct {
// contains filtered or unexported fields
}
Lifecycle formally manages various long-running goroutines for smooth cleanup when restarting major components (e.g. mediorum). This allows us to wait for all registered goroutines on a service to gracefully shut down before restarting the service.
func NewFromLifecycle ¶
func (*Lifecycle) AddManagedRoutine ¶
func (*Lifecycle) ShutdownWithTimeout ¶
Click to show internal directories.
Click to hide internal directories.