cosmium/api/config/models.go

21 lines
845 B
Go
Raw Permalink Normal View History

2024-02-10 17:17:34 +02:00
package config
type ServerConfig struct {
2024-12-19 23:21:45 +02:00
DatabaseAccount string `json:"databaseAccount"`
DatabaseDomain string `json:"databaseDomain"`
DatabaseEndpoint string `json:"databaseEndpoint"`
AccountKey string `json:"accountKey"`
2024-12-19 23:21:45 +02:00
ExplorerPath string `json:"explorerPath"`
Port int `json:"port"`
Host string `json:"host"`
TLS_CertificatePath string `json:"tlsCertificatePath"`
TLS_CertificateKey string `json:"tlsCertificateKey"`
InitialDataFilePath string `json:"initialDataFilePath"`
PersistDataFilePath string `json:"persistDataFilePath"`
DisableAuth bool `json:"disableAuth"`
DisableTls bool `json:"disableTls"`
Debug bool `json:"debug"`
ExplorerBaseUrlLocation string `json:"explorerBaseUrlLocation"`
2024-02-10 17:17:34 +02:00
}