Documentation ¶
Overview ¶
Package httpreq implements a DNS provider for solving the DNS-01 challenge through a HTTP server.
Index ¶
- Variables
- type Config
- type Provider
- func (d *Provider) CleanUp(domain, token, keyAuth string) error
- func (d *Provider) GetTargetA() string
- func (d *Provider) GetTargetAAAA() string
- func (d *Provider) GetTargetCNAME() string
- func (d *Provider) GetTargetMX() string
- func (d *Provider) Present(domain, token, keyAuth string) error
- func (d *Provider) Timeout() (timeout, interval time.Duration)
- func (d *Provider) UpdateDNS(domain string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var UserAgent string
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Endpoint *url.URL Username string Password string TargetA string TargetAAAA string TargetCNAME string TargetMX string PropagationTimeout time.Duration PollingInterval time.Duration HTTPClient *http.Client }
Config is used to configure the creation of the Provider
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
NewDefaultConfig returns a default configuration for the Provider
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider describes a provider for acme-proxy
func NewProvider ¶
NewProvider returns a Provider instance.
func NewProviderConfig ¶
NewProviderConfig return a Provider .
func (*Provider) GetTargetA ¶
func (*Provider) GetTargetAAAA ¶
func (*Provider) GetTargetCNAME ¶
func (*Provider) GetTargetMX ¶
Click to show internal directories.
Click to hide internal directories.