Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunApp ¶ added in v0.9.6
func RunApp(configFn func(router.ApiConfigurer))
RunApp - loads config from ROUTE_SETTINGS file or router.json
func RunAppWithOptions ¶ added in v0.9.8
func RunAppWithOptions(configFn func(router.ApiConfigurer), logFn func(summary router.RequestSummary))
RunAppWithOptions - loads config from ROUTE_SETTINGS and injects custom log handler
func StartApp ¶
func StartApp(appArgs []string, defaultPort int, configurationHook func(configurer router.ApiConfigurer))
StartApp quick starter
func StartAppWithOptions ¶ added in v0.8.1
func StartAppWithOptions(appArgs []string, defaultPort int, configurationHook func(router.ApiConfigurer), logFn func(summary router.RequestSummary))
StartAppWithOptions quick starter that takes a logging function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.