Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct { Name string // contains filtered or unexported fields }
App represents the application run by this service.
func (*App) OnShutdown ¶
func (a *App) OnShutdown(onShutdown func())
OnShutdown registers a function that is called when the app is shutdown.
type OnShutdownFunc ¶
type OnShutdownFunc func()
OnShutdownFunc is a function that is called when the app is shutdown.
Click to show internal directories.
Click to hide internal directories.