starter

package
v0.9.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 8 Imported by: 2

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL