package
Version:
v0.0.0-...-fa16b3f
Opens a new window with list of versions in this module.
Published: Jan 16, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Client interface {
ListenAndServe() error
}
Client ...
NewClient makes a new client
type Config struct {
ListenAddr string `yaml:"listenaddr"`
ListenPort int `yaml:"listenport"`
DOH *DOHConfig `yaml:"doh"`
}
Config ...
LoadConfig loads a config from a byte buffer
type DOHConfig struct {
URL string `yaml:"url"`
CAFile string `yaml:"cafile"`
}
DOHConfig ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.