Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
Name string `long:"app-name" description:"Name of application" default:"device-flow-proxy"`
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"`
Version string `long:"version" description:"Version of the application" default:"0.0.0"`
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"`
}
var Application App
Click to show internal directories.
Click to hide internal directories.