Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { Cert string `env:"OUTIS_CERTIFICATE_CERT"` Key string `env:"OUTIS_CERTIFICATE_KEY"` CA string `env:"OUTIS_CERTIFICATE_CA"` }
Certificate configure the settings for a certificate
func (*Certificate) Validate ¶
func (c *Certificate) Validate() error
Validate validate data structure settings
type Database ¶
type Database struct { Name string `env:"OUTIS_DB_NAME"` User string `env:"OUTIS_DB_USER"` Pass string `env:"OUTIS_DB_PASS"` Host string `env:"OUTIS_DB_HOST"` Port string `env:"OUTIS_DB_PORT"` MaxOpenConns int `env:"OUTIS_DB_OPEN_CONNS"` MaxIdleConns int `env:"OUTIS_DB_IDLE_CONNS"` Timeout int `env:"OUTIS_DB_TIMEOUT"` ConnMaxLifetime int `env:"OUTIS_DB_CONN_MAX_LIFETIME"` ConnMaxIdleTime int `env:"OUTIS_DB_MAX_IDLE_TIME"` Cert SSL }
Database configure the settings for a database
Click to show internal directories.
Click to hide internal directories.