Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppEnv ¶
type AppEnv struct { // See lion for the log environment variables. LionEnv envlion.Env // See pkgmetrics for the metrics environment variables. MetricsEnv pkgmetrics.Env }
AppEnv is the struct that represents the environment variables used by an app.
type AppOptions ¶
AppOptions are options for a new app.
func GetAndSetupAppEnv ¶
func GetAndSetupAppEnv() (AppOptions, error)
GetAndSetupAppEnv does GetAppEnv then SetupAppEnv.
func SetupAppEnv ¶
func SetupAppEnv(appEnv AppEnv) (AppOptions, error)
SetupAppEnv does the setup for AppEnv.
Click to show internal directories.
Click to hide internal directories.