Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Bootstrapper = fxcore.NewBootstrapper().WithOptions( fxhttpserver.FxHttpServerModule, ProvideRouting(), ProvideServices(), )
Bootstrapper can be used to load modules, options, services and bootstraps your application.
View Source
var RootDir string
RootDir is the application root directory.
Functions ¶
func ProvideRouting ¶
ProvideRouting is used to register the application HTTP handlers.
func ProvideServices ¶
ProvideServices is used to register the application services.
func Run ¶
Run starts the application, with a provided context.Context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.