Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
Description string `long:"app-description" description:"Description of application" default:"Gives a simple blueprint for creating new api's"`
Environment string `long:"environment" description:"Environment the application is running in, eg. prod or dev" default:"dev"`
Log struct {
Verbose bool `long:"verbose" short:"v" description:"Verbose logging"`
Format string `long:"log-format" description:"Logging format" choice:"json" choice:"plain"`
}
Serve serveCmd `command:"serve" description:"serves endpoints"`
Oas oasCmd `command:"oas" description:"Retrieve oas document"`
Version versionCmd `command:"version" description:"Prints the build information from the binary"`
}
var Application App
Click to show internal directories.
Click to hide internal directories.