package
Version:
v0.0.0-...-77ac295
Opens a new window with list of versions in this module.
Published: Jun 15, 2023
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
App is an application components lifecycle manager
New create an application lifecycle manager.
Append register interface that are executed on application start and stop.
AppendInstance register callbacks that are executed on application start and stop.
Run executes all OnStart Instances registered with the application's Lifecycle.
Stop gracefully stops the application.
Instance is a pair of start and stop callbacks.
Lifecycle is component lifecycle.
type Option func(o *options)
Option is an application option.
StartTimeout with start timeout.
StopTimeout with stop timeout.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.