violet/cmd/violet/conf.go

17 lines
449 B
Go

package main
type startUpConfig struct {
SelfSigned bool `json:"self_signed"`
ErrorPagePath string `json:"error_page_path"`
Listen listenConfig `json:"listen"`
InkscapeCmd string `json:"inkscape"`
RateLimit uint64 `json:"rate_limit"`
SignerIssuer string `json:"signer_issuer"`
}
type listenConfig struct {
Api string `json:"api"`
Http string `json:"http"`
Https string `json:"https"`
}