Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server Server `yaml:"server"` TBA struct { URL string `yaml:"URL"` APIKey string `yaml:"apiKey"` } `yaml:"tba"` DSN string `yaml:"dsn"` }
Config holds information about how the peregrine backend is configured.
type Server ¶
type Server struct { HTTPAddress string `yaml:"httpAddress"` HTTPSAddress string `yaml:"httpsAddress"` KeyFile string `yaml:"keyFile"` CertFile string `yaml:"certFile"` Origin string `yaml:"origin"` Year int `yaml:"year"` LogJSON bool `yaml:"logJSON"` Secret string `yaml:"secret"` }
Server holds information about the peregrine backend HTTP server.
Click to show internal directories.
Click to hide internal directories.