25 lines
569 B
Go
25 lines
569 B
Go
package models
|
|
|
|
type Config struct {
|
|
HttpServer struct {
|
|
Port int `json:"port"`
|
|
Address string `json:"address"`
|
|
ProductionMode bool `json:"productionMode"`
|
|
} `json:"httpServer"`
|
|
|
|
CSRF struct {
|
|
CSRFKey string `json:"csrfKey"`
|
|
} `json:"csrf"`
|
|
|
|
License struct {
|
|
APIURL string `json:"apiUrl"`
|
|
APIKey string `json:"apiKey"`
|
|
} `json:"license"`
|
|
|
|
Session struct {
|
|
AuthKeyPath string `json:"authKeyPath"`
|
|
EncryptionKeyPath string `json:"encryptionKeyPath"`
|
|
Name string `json:"sessionName"`
|
|
} `json:"session"`
|
|
}
|