Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultEnvironment = "dev" DefaultMySQLHost = "localhost" DefaultMySQLPort = uint16(3306) DefaultListenHost = "127.0.0.1" DefaultListenPort = uint16(8080) )
View Source
const ( EnvVarEnvironment = "env" EnvVarMySQLHost = "mysql_host" EnvVarMySQLPort = "mysql_port" EnvVarMySQLDatabase = "mysql_database" EnvVarMySQLUser = "mysql_user" EnvVarMySQLPassword = "mysql_password" EnvVarListenHost = "listen_host" EnvVarListenPort = "listen_port" EnvVarJWTKey = "jwt_key" )
View Source
const ( CliFlagEnv = "env" CliFlagMySQLHost = "mysql-host" CliFlagMySQLPort = "mysql-port" CliFlagMySQLDatabase = "mysql-database" CliFlagMySQLUser = "mysql-user" CliFlagMySQLPassword = "mysql-password" CliFlagListen = "listen" CliFlagPort = "port" CliFlagMigrate = "migrate" CliFlagJWTKey = "jwt-key" )
Variables ¶
This section is empty.
Functions ¶
func CliFlags ¶
func CliFlags() []string
CliFlags Return a list of all known CLI flags used by any and all commands.
func DefaultValues ¶
func DefaultValues() []interface{}
func EnvVariables ¶
func EnvVariables() []string
EnvVariables Return a list of all known environment variables used by any and all commands.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.