Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config = *ConfigStruct
type ConfigStruct ¶
type ConfigStruct struct {
ApiPort string `json:"api_port"`
UnauthenticatedApiPort string `json:"unauthenticated_api_port"`
PostgresHost string `json:"postgres_host"`
PostgresPort uint16 `json:"postgres_port"`
PostgresUser string `json:"postgres_user" config:"secret"`
PostgresDb string `json:"postgres_db"`
PostgresPw string `json:"postgres_pw" config:"secret"`
PostgresUsageSchema string `json:"postgres_usage_schema"`
PermissionsUrl string `json:"permissions_url"`
ServingUrl string `json:"serving_url"`
MemcachedUrls []string `json:"memcached_urls"`
Debug bool `json:"debug"`
DeviceRepoUrl string `json:"device_repo_url"`
DeviceSelectionUrl string `json:"device_selection_url"`
ImportRepoUrl string `json:"import_repo_url"`
DefaultTimezone string `json:"default_timezone"`
}
Click to show internal directories.
Click to hide internal directories.