Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { // mysql's connection string required by the gorm mysql driver MySQLDSN string `envconfig:"MYSQL_DSN" required:"true"` // the address the web server listens on ServerAddr string `envconfig:"SERVER_ADDR" default:":8080"` // the address of the redis server RedisAddr string `envconfig:"REDIS_ADDR" default:":6379"` }
Click to show internal directories.
Click to hide internal directories.