Documentation ¶
Overview ¶
Provides configuration for functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Get struct { // Settings for daemon Address string Port uint } // sites for CORS CORS struct { Sites []string } Database struct { // Database connection settings User string Password string Proto string Host string Database string MaxIdle int MaxConnections int } Redis struct { // Redis address and max pool connections Protocol string Address string MaxIdle int MaxConnections int } // HMAC secret for bcrypt Session struct { Secret string } }
var Settings *Config
Click to show internal directories.
Click to hide internal directories.