Documentation
¶
Index ¶
Constants ¶
View Source
const (
BSFunctionAdaptersGroupKey = "boostrap.function.adapters"
)
View Source
const (
Root = bootstrap.Root + ".function"
)
Variables ¶
This section is empty.
Functions ¶
func Module ¶
func Module[T any](m []middleware.AnyErrorMiddleware[T]) fx.Option
Module fx module for bootstrap function. The function runs from the app's OnStart and its context is cancelled on OnStop, so app.Run handles SIGTERM gracefully; when the function ends on its own the app shuts down, with exit code 1 if it failed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.