Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Brokkr ¶
type Brokkr struct {
// contains filtered or unexported fields
}
Brokkr manages the lifecycle of an application. This structure is responsible for overseeing the processes and tasks that constitute the app, and provides mechanisms for controlled starts, stops, and signal handling.
type Options ¶
type Options func(o *Brokkr)
Options sets of configurations for Brokkr.
func AddBackgroundTasks ¶
func AddBackgroundTasks(bt ...background.Process) Options
AddBackgroundTasks that will be executed in background of main loop.
func SetForceStopTimeout ¶
SetForceStopTimeout redefines force shutdown timeout.
Click to show internal directories.
Click to hide internal directories.