mirror of https://github.com/0xERR0R/blocky.git
16 lines
338 B
Go
16 lines
338 B
Go
package config
|
|
|
|
// InterfacesConfig configuration for blocky's interfaces (REST, DoH, ...)
|
|
type InterfacesConfig struct {
|
|
Rest RESTConfig `yaml:"rest"`
|
|
DoH DoHConfig `yaml:"dns-over-http"`
|
|
}
|
|
|
|
type RESTConfig struct {
|
|
Enable bool `yaml:"enable" default:"true"`
|
|
}
|
|
|
|
type DoHConfig struct {
|
|
Enable bool `yaml:"enable" default:"true"`
|
|
}
|