Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
func (AuthConfig) Load ¶
func (ac AuthConfig) Load(config_dir string) (auth.Authenticator, error)
type Config ¶
type Config struct { Port string Certificate string Key string Authenticator AuthConfig Provider ProviderConfig }
type ConfigLoader ¶
type ConfigYAMLBytesLoader ¶
type ConfigYAMLFileLoader ¶
type ConfigYAMLFileLoader struct {
// contains filtered or unexported fields
}
type DNSProxy ¶
type DNSProxy struct { ConfigLoader ConfigLoader Auth auth.Authenticator Provider providers.DNSProvider }
func New ¶
func New(loader ConfigLoader) (*DNSProxy, error)
func NewFromFile ¶
type ProviderConfig ¶
func (ProviderConfig) Load ¶
func (pc ProviderConfig) Load(config_dir string) (providers.DNSProvider, error)
type RawYAML ¶
type RawYAML struct {
// contains filtered or unexported fields
}
func (*RawYAML) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.