cmdConstants

package
v0.0.0-...-412dc8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2021 License: Apache-2.0, MIT Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL