Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAuthenticator ¶ added in v0.0.38
func RegisterAuthenticator(name Authenticator, l AuthenticatorLoader)
Types ¶
type Authenticator ¶ added in v0.0.38
type Authenticator string
func (Authenticator) Load ¶ added in v0.0.38
func (u Authenticator) Load(d ConfigDecoder) (a auth.Authenticator, err error)
type AuthenticatorLoader ¶ added in v0.0.38
type AuthenticatorLoader interface {
Load(d ConfigDecoder) (a auth.Authenticator, err error)
}
type ConfigDecoder ¶ added in v0.0.38
type ConfigDecoder interface {
Decode(v interface{}) error
}
type ConfigFiles ¶ added in v0.0.38
type ConfigFiles struct { DNSType providers.DNSProviderName DNSPath string AuthType Authenticator AuthPath string }
func (ConfigFiles) LoadAuth ¶ added in v0.0.38
func (c ConfigFiles) LoadAuth() (p auth.Authenticator, err error)
func (ConfigFiles) LoadProvider ¶ added in v0.0.38
func (c ConfigFiles) LoadProvider() (p providers.DNSProvider, err error)
type Server ¶
type Server struct { Config ConfigFiles Auth auth.Authenticator Provider providers.DNSProvider }
func New ¶
func New(config ConfigFiles) *Server
func (*Server) ReloadConfig ¶
func (*Server) ServeTLS ¶ added in v0.0.38
func (s *Server) ServeTLS(settings TLSSettings)
type TLSSettings ¶ added in v0.0.38
Click to show internal directories.
Click to hide internal directories.