20 lines
467 B
Go
20 lines
467 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"`
|
|
|
|
Session struct {
|
|
SessionAuthKey string `json:"authKey"`
|
|
SessionEncryptionKey string `json:"encryptionKey"`
|
|
SessionName string `json:"sessionName"`
|
|
} `json:"session"`
|
|
}
|