Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DatabaseURL string `toml:"db_url"`
API struct {
Domain string `toml:"domain"`
Port uint16 `toml:"port"`
UseTLS bool `toml:"use_tls"`
CertFile string `toml:"cert_file"`
KeyFile string `toml:"key_file"`
} `toml:"api"`
WebApp struct {
Domain string `toml:"domain"`
Port uint16 `toml:"port"`
ResourcesPath string `toml:"resources_path"`
AllowSelfSignedAPICert bool `toml:"allow_self_signed_api_cert"`
UseTLS bool `toml:"use_tls"`
CertFile string `toml:"cert_file"`
KeyFile string `toml:"key_file"`
} `toml:"webapp"`
}
Config is type in which config is stored (OGO BLIN NAFIG)
Click to show internal directories.
Click to hide internal directories.