Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func ReadConfig ¶
type Https ¶
type Https struct { CertFile string `gcfg:"cert-file"` KeyFile string `gcfg:"key-file"` GenerateCerts bool `gcfg:"generate-certs-if-absent"` // Generate certificates if missing GenerateCertsHosts string `gcfg:"generate-certs-hosts"` // Hostnames to generate certificates for if missing and GenerateCerts==true }
type MoneyGo ¶
type MoneyGo struct { Fcgi bool // whether to serve FCGI (HTTP by default if false) Port int // port to serve API/files on Basedir string `gcfg:"base-directory"` // base directory for serving files out of DBType DbType `gcfg:"db-type"` // Whether this is a sqlite/mysql/postgresql database DSN string `gcfg:"db-dsn"` // 'Data Source Name' for database connection }
Click to show internal directories.
Click to hide internal directories.