1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00
birdwatcher/endpoints/config.go
Patrick Seeburger 116f03fed4 Add support for uncached queries
The cache is still updated with new information on every request.
2019-03-20 14:55:11 +01:00

12 lines
329 B
Go

package endpoints
// Endpoints / Server configuration
type ServerConfig struct {
AllowFrom []string `toml:"allow_from"`
ModulesEnabled []string `toml:"modules_enabled"`
AllowUncached bool `toml:"allow_uncached"`
EnableTLS bool `toml:"enable_tls"`
Crt string `toml:"crt"`
Key string `toml:"key"`
}