Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectMySQL ¶
func NewNetHttpServer ¶
func NewNetHttpServerMux ¶
func TimeNowUTC ¶
func ValidateUsername ¶
Types ¶
type Env ¶
type Env struct { AppEnv string `env:"APP_ENV" envDefault:"development"` RESTPort string `env:"REST_PORT" envDefault:"8080"` MySQLHost string `env:"MYSQL_HOST" envDefault:"localhost"` MySQLPort string `env:"MYSQL_PORT" envDefault:"3306"` MySQLUser string `env:"MYSQL_USER" envDefault:""` MySQLPass string `env:"MYSQL_PASS" envDefault:""` MySQLDBName string `env:"MYSQL_DB_NAME" envDefault:""` }
Click to show internal directories.
Click to hide internal directories.