Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvNameAddress string = "ADDRESS" EnvNamePort string = "PORT" EnvNameProxyAddress string = "PROXY_ADDRESS" EnvNameProxyPort string = "PROXY_PORT" EnvNameAllowCredentials string = "ALLOW_CREDENTIALS" EnvNameAllowedOrigins string = "ALLOWED_ORIGINS" EnvNameAllowedMethods string = "ALLOWED_METHODS" EnvNameAllowedHeaders string = "ALLOWED_HEADERS" EnvNameCorsDebug string = "CORS_DEBUG" EnvNameUsername string = "USERNAME" EnvNamePassword string = "PASSWORD" EnvNameCors string = "CORS" )
Variables ¶
View Source
var ( Version string GitCommit string GitBranch string )
These variables are populated at build time to find where the variables are...use go tool nm ./app | grep app REFERENCE: https://www.digitalocean.com/community/tutorials/using-ldflags-to-set-version-information-for-go-applications
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.