Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Main ¶
Main is the entrypoint for the app.
It's expected to have control of the app lifecycle. An application exit is not expected to be graceful in case of errors. Main starts the platform server with modules loaded beforehand. It is blocking until server shutdown from cancellation of the context, or a caught SIGTERM, an OS control signal hinting the app should exit.
The variadic parameter allows to inject options from test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.