From cf879d0b3c311602dcf4166a4b5329b431f59550 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Tue, 20 Aug 2019 18:40:41 +0200 Subject: [PATCH] fix: typos. (#954) --- docs/content/dns/zz_gen_liquidweb.md | 1 + providers/dns/acmedns/acmedns.go | 2 +- providers/dns/alidns/alidns.go | 2 +- providers/dns/azure/azure.go | 2 +- providers/dns/bindman/bindman.go | 2 +- providers/dns/bluecat/bluecat.go | 2 +- providers/dns/cloudflare/cloudflare.go | 2 +- providers/dns/cloudns/cloudns.go | 2 +- providers/dns/cloudxns/cloudxns.go | 2 +- providers/dns/conoha/conoha.go | 2 +- providers/dns/digitalocean/digitalocean.go | 2 +- providers/dns/dnsimple/dnsimple.go | 2 +- providers/dns/dnsmadeeasy/dnsmadeeasy.go | 2 +- providers/dns/dnspod/dnspod.go | 2 +- providers/dns/dyn/dyn.go | 2 +- providers/dns/easydns/easydns.go | 5 ++--- providers/dns/exoscale/exoscale.go | 2 +- providers/dns/fastdns/fastdns.go | 2 +- providers/dns/gandi/gandi.go | 2 +- providers/dns/gandiv5/gandiv5.go | 2 +- providers/dns/glesys/glesys.go | 2 +- providers/dns/godaddy/godaddy.go | 2 +- providers/dns/hostingde/hostingde.go | 2 +- providers/dns/httpreq/httpreq.go | 2 +- providers/dns/iij/iij.go | 2 +- providers/dns/inwx/inwx.go | 2 +- providers/dns/lightsail/lightsail.go | 2 +- providers/dns/linode/linode.go | 2 +- providers/dns/linodev4/linodev4.go | 2 +- providers/dns/liquidweb/liquidweb.go | 2 +- providers/dns/liquidweb/liquidweb.toml | 1 + providers/dns/mydnsjp/mydnsjp.go | 2 +- providers/dns/namecheap/namecheap.go | 2 +- providers/dns/namedotcom/namedotcom.go | 2 +- providers/dns/namesilo/namesilo.go | 4 ++-- providers/dns/netcup/netcup.go | 2 +- providers/dns/nifcloud/nifcloud.go | 2 +- providers/dns/ns1/ns1.go | 2 +- providers/dns/oraclecloud/oraclecloud.go | 2 +- providers/dns/otc/otc.go | 2 +- providers/dns/ovh/ovh.go | 2 +- providers/dns/pdns/pdns.go | 2 +- providers/dns/rackspace/rackspace.go | 2 +- providers/dns/rfc2136/rfc2136.go | 2 +- providers/dns/route53/route53.go | 2 +- providers/dns/sakuracloud/sakuracloud.go | 2 +- providers/dns/selectel/selectel.go | 2 +- providers/dns/stackpath/stackpath.go | 2 +- providers/dns/versio/versio.go | 2 +- providers/dns/vscale/vscale.go | 2 +- providers/dns/vultr/vultr.go | 2 +- providers/dns/zoneee/zoneee.go | 2 +- 52 files changed, 54 insertions(+), 53 deletions(-) diff --git a/docs/content/dns/zz_gen_liquidweb.md b/docs/content/dns/zz_gen_liquidweb.md index 7fb44bff..09ddf2ee 100644 --- a/docs/content/dns/zz_gen_liquidweb.md +++ b/docs/content/dns/zz_gen_liquidweb.md @@ -61,6 +61,7 @@ More information [here](/lego/dns/#configuration-and-credentials). ## More information - [API documentation](https://cart.liquidweb.com/storm/api/docs/v1/) +- [Go client](https://github.com/liquidweb/liquidweb-go) diff --git a/providers/dns/acmedns/acmedns.go b/providers/dns/acmedns/acmedns.go index fe82f45f..63b732b7 100644 --- a/providers/dns/acmedns/acmedns.go +++ b/providers/dns/acmedns/acmedns.go @@ -33,7 +33,7 @@ type acmeDNSClient interface { RegisterAccount([]string) (goacmedns.Account, error) } -// DNSProvider is an implementation of the acme.ChallengeProvider interface for +// DNSProvider is an implementation of the challenge.Provider interface for // an ACME-DNS server. type DNSProvider struct { client acmeDNSClient diff --git a/providers/dns/alidns/alidns.go b/providers/dns/alidns/alidns.go index da99495f..b008bf63 100644 --- a/providers/dns/alidns/alidns.go +++ b/providers/dns/alidns/alidns.go @@ -38,7 +38,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { config *Config client *alidns.Client diff --git a/providers/dns/azure/azure.go b/providers/dns/azure/azure.go index eb6358c1..8cd5f219 100644 --- a/providers/dns/azure/azure.go +++ b/providers/dns/azure/azure.go @@ -51,7 +51,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { config *Config authorizer autorest.Authorizer diff --git a/providers/dns/bindman/bindman.go b/providers/dns/bindman/bindman.go index fe338003..60a56f19 100644 --- a/providers/dns/bindman/bindman.go +++ b/providers/dns/bindman/bindman.go @@ -31,7 +31,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface that uses +// DNSProvider is an implementation of the challenge.Provider interface that uses // Bindman's Address Manager REST API to manage TXT records for a domain. type DNSProvider struct { config *Config diff --git a/providers/dns/bluecat/bluecat.go b/providers/dns/bluecat/bluecat.go index a6b31a2b..5c1686b4 100644 --- a/providers/dns/bluecat/bluecat.go +++ b/providers/dns/bluecat/bluecat.go @@ -46,7 +46,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface that uses +// DNSProvider is an implementation of the challenge.Provider interface that uses // Bluecat's Address Manager REST API to manage TXT records for a domain. type DNSProvider struct { config *Config diff --git a/providers/dns/cloudflare/cloudflare.go b/providers/dns/cloudflare/cloudflare.go index 675a39f0..d809e3f4 100644 --- a/providers/dns/cloudflare/cloudflare.go +++ b/providers/dns/cloudflare/cloudflare.go @@ -39,7 +39,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { client *cloudflare.API config *Config diff --git a/providers/dns/cloudns/cloudns.go b/providers/dns/cloudns/cloudns.go index 9d46d994..c31ae8b8 100644 --- a/providers/dns/cloudns/cloudns.go +++ b/providers/dns/cloudns/cloudns.go @@ -34,7 +34,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { config *Config client *internal.Client diff --git a/providers/dns/cloudxns/cloudxns.go b/providers/dns/cloudxns/cloudxns.go index 4d395c2d..93bc554d 100644 --- a/providers/dns/cloudxns/cloudxns.go +++ b/providers/dns/cloudxns/cloudxns.go @@ -34,7 +34,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { config *Config client *internal.Client diff --git a/providers/dns/conoha/conoha.go b/providers/dns/conoha/conoha.go index 6b9e5940..59b0fb00 100644 --- a/providers/dns/conoha/conoha.go +++ b/providers/dns/conoha/conoha.go @@ -37,7 +37,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { config *Config client *internal.Client diff --git a/providers/dns/digitalocean/digitalocean.go b/providers/dns/digitalocean/digitalocean.go index 8c20f9f9..27744041 100644 --- a/providers/dns/digitalocean/digitalocean.go +++ b/providers/dns/digitalocean/digitalocean.go @@ -35,7 +35,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface // that uses DigitalOcean's REST API to manage TXT records for a domain. type DNSProvider struct { config *Config diff --git a/providers/dns/dnsimple/dnsimple.go b/providers/dns/dnsimple/dnsimple.go index ef6333d8..ea989d28 100644 --- a/providers/dns/dnsimple/dnsimple.go +++ b/providers/dns/dnsimple/dnsimple.go @@ -33,7 +33,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { config *Config client *dnsimple.Client diff --git a/providers/dns/dnsmadeeasy/dnsmadeeasy.go b/providers/dns/dnsmadeeasy/dnsmadeeasy.go index b3968070..b249a887 100644 --- a/providers/dns/dnsmadeeasy/dnsmadeeasy.go +++ b/providers/dns/dnsmadeeasy/dnsmadeeasy.go @@ -41,7 +41,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface that uses +// DNSProvider is an implementation of the challenge.Provider interface that uses // DNSMadeEasy's DNS API to manage TXT records for a domain. type DNSProvider struct { config *Config diff --git a/providers/dns/dnspod/dnspod.go b/providers/dns/dnspod/dnspod.go index 1d4c1578..a30c8af9 100644 --- a/providers/dns/dnspod/dnspod.go +++ b/providers/dns/dnspod/dnspod.go @@ -35,7 +35,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { config *Config client *dnspod.Client diff --git a/providers/dns/dyn/dyn.go b/providers/dns/dyn/dyn.go index 9973cf6a..e866a920 100644 --- a/providers/dns/dyn/dyn.go +++ b/providers/dns/dyn/dyn.go @@ -35,7 +35,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface that uses +// DNSProvider is an implementation of the challenge.Provider interface that uses // Dyn's Managed DNS API to manage TXT records for a domain. type DNSProvider struct { config *Config diff --git a/providers/dns/easydns/easydns.go b/providers/dns/easydns/easydns.go index 483be6f5..9f648eb7 100644 --- a/providers/dns/easydns/easydns.go +++ b/providers/dns/easydns/easydns.go @@ -11,10 +11,9 @@ import ( "sync" "time" - "github.com/miekg/dns" - "github.com/go-acme/lego/v3/challenge/dns01" "github.com/go-acme/lego/v3/platform/config/env" + "github.com/miekg/dns" ) // Config is used to configure the creation of the DNSProvider @@ -70,7 +69,7 @@ func NewDNSProvider() (*DNSProvider, error) { return NewDNSProviderConfig(config) } -// NewDNSProviderConfig return a DNSProvider . +// NewDNSProviderConfig return a DNSProvider instance configured for EasyDNS. func NewDNSProviderConfig(config *Config) (*DNSProvider, error) { if config == nil { return nil, errors.New("easydns: the configuration of the DNS provider is nil") diff --git a/providers/dns/exoscale/exoscale.go b/providers/dns/exoscale/exoscale.go index 34f44f35..6c99e3e3 100644 --- a/providers/dns/exoscale/exoscale.go +++ b/providers/dns/exoscale/exoscale.go @@ -38,7 +38,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { config *Config client *egoscale.Client diff --git a/providers/dns/fastdns/fastdns.go b/providers/dns/fastdns/fastdns.go index 8dd31b2b..aaef2b36 100644 --- a/providers/dns/fastdns/fastdns.go +++ b/providers/dns/fastdns/fastdns.go @@ -30,7 +30,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { config *Config } diff --git a/providers/dns/gandi/gandi.go b/providers/dns/gandi/gandi.go index 589ab55d..72425844 100644 --- a/providers/dns/gandi/gandi.go +++ b/providers/dns/gandi/gandi.go @@ -52,7 +52,7 @@ type inProgressInfo struct { } // DNSProvider is an implementation of the -// acme.ChallengeProviderTimeout interface that uses Gandi's XML-RPC +// challenge.ProviderTimeout interface that uses Gandi's XML-RPC // API to manage TXT records for a domain. type DNSProvider struct { inProgressFQDNs map[string]inProgressInfo diff --git a/providers/dns/gandiv5/gandiv5.go b/providers/dns/gandiv5/gandiv5.go index dcb577f6..0068d1b0 100644 --- a/providers/dns/gandiv5/gandiv5.go +++ b/providers/dns/gandiv5/gandiv5.go @@ -50,7 +50,7 @@ func NewDefaultConfig() *Config { } // DNSProvider is an implementation of the -// acme.ChallengeProviderTimeout interface that uses Gandi's LiveDNS +// challenge.ProviderTimeout interface that uses Gandi's LiveDNS // API to manage TXT records for a domain. type DNSProvider struct { config *Config diff --git a/providers/dns/glesys/glesys.go b/providers/dns/glesys/glesys.go index 02c23cc0..a0c5ff46 100644 --- a/providers/dns/glesys/glesys.go +++ b/providers/dns/glesys/glesys.go @@ -42,7 +42,7 @@ func NewDefaultConfig() *Config { } // DNSProvider is an implementation of the -// acme.ChallengeProviderTimeout interface that uses GleSYS +// challenge.ProviderTimeout interface that uses GleSYS // API to manage TXT records for a domain. type DNSProvider struct { config *Config diff --git a/providers/dns/godaddy/godaddy.go b/providers/dns/godaddy/godaddy.go index e14888a1..b8ae5c72 100644 --- a/providers/dns/godaddy/godaddy.go +++ b/providers/dns/godaddy/godaddy.go @@ -42,7 +42,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { config *Config } diff --git a/providers/dns/hostingde/hostingde.go b/providers/dns/hostingde/hostingde.go index 554fdcb6..4232aa1e 100644 --- a/providers/dns/hostingde/hostingde.go +++ b/providers/dns/hostingde/hostingde.go @@ -34,7 +34,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { config *Config recordIDs map[string]string diff --git a/providers/dns/httpreq/httpreq.go b/providers/dns/httpreq/httpreq.go index 33634256..87edfa0c 100644 --- a/providers/dns/httpreq/httpreq.go +++ b/providers/dns/httpreq/httpreq.go @@ -75,7 +75,7 @@ func NewDNSProvider() (*DNSProvider, error) { return NewDNSProviderConfig(config) } -// NewDNSProviderConfig return a DNSProvider . +// NewDNSProviderConfig return a DNSProvider. func NewDNSProviderConfig(config *Config) (*DNSProvider, error) { if config == nil { return nil, errors.New("httpreq: the configuration of the DNS provider is nil") diff --git a/providers/dns/iij/iij.go b/providers/dns/iij/iij.go index 49a16871..6b15fa20 100644 --- a/providers/dns/iij/iij.go +++ b/providers/dns/iij/iij.go @@ -32,7 +32,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider implements the acme.ChallengeProvider interface +// DNSProvider implements the challenge.Provider interface type DNSProvider struct { api *doapi.API config *Config diff --git a/providers/dns/inwx/inwx.go b/providers/dns/inwx/inwx.go index 2ca70d07..364cb8d3 100644 --- a/providers/dns/inwx/inwx.go +++ b/providers/dns/inwx/inwx.go @@ -32,7 +32,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { config *Config client *goinwx.Client diff --git a/providers/dns/lightsail/lightsail.go b/providers/dns/lightsail/lightsail.go index 4aa98a61..77d57966 100644 --- a/providers/dns/lightsail/lightsail.go +++ b/providers/dns/lightsail/lightsail.go @@ -59,7 +59,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider implements the acme.ChallengeProvider interface +// DNSProvider implements the challenge.Provider interface type DNSProvider struct { client *lightsail.Lightsail config *Config diff --git a/providers/dns/linode/linode.go b/providers/dns/linode/linode.go index d42879c6..b95c0040 100644 --- a/providers/dns/linode/linode.go +++ b/providers/dns/linode/linode.go @@ -38,7 +38,7 @@ type hostedZoneInfo struct { resourceName string } -// DNSProvider implements the acme.ChallengeProvider interface. +// DNSProvider implements the challenge.Provider interface. type DNSProvider struct { config *Config client *dns.DNS diff --git a/providers/dns/linodev4/linodev4.go b/providers/dns/linodev4/linodev4.go index a7168675..0b1ffc95 100644 --- a/providers/dns/linodev4/linodev4.go +++ b/providers/dns/linodev4/linodev4.go @@ -44,7 +44,7 @@ type hostedZoneInfo struct { resourceName string } -// DNSProvider implements the acme.ChallengeProvider interface. +// DNSProvider implements the challenge.Provider interface. type DNSProvider struct { config *Config client *linodego.Client diff --git a/providers/dns/liquidweb/liquidweb.go b/providers/dns/liquidweb/liquidweb.go index a4a43d22..32ad622b 100644 --- a/providers/dns/liquidweb/liquidweb.go +++ b/providers/dns/liquidweb/liquidweb.go @@ -41,7 +41,7 @@ func NewDefaultConfig() *Config { return config } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface // that uses Liquid Web's REST API to manage TXT records for a domain. type DNSProvider struct { config *Config diff --git a/providers/dns/liquidweb/liquidweb.toml b/providers/dns/liquidweb/liquidweb.toml index a33c1edb..677b5adb 100644 --- a/providers/dns/liquidweb/liquidweb.toml +++ b/providers/dns/liquidweb/liquidweb.toml @@ -25,3 +25,4 @@ lego --dns liquidweb --email someaccount@email.com --domains "foo.email.com" run [Links] API = "https://cart.liquidweb.com/storm/api/docs/v1/" + GoClient = "https://github.com/liquidweb/liquidweb-go" diff --git a/providers/dns/mydnsjp/mydnsjp.go b/providers/dns/mydnsjp/mydnsjp.go index 0a19b775..9cab3be6 100644 --- a/providers/dns/mydnsjp/mydnsjp.go +++ b/providers/dns/mydnsjp/mydnsjp.go @@ -33,7 +33,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { config *Config } diff --git a/providers/dns/namecheap/namecheap.go b/providers/dns/namecheap/namecheap.go index bc1f9d9f..3fb71c2d 100644 --- a/providers/dns/namecheap/namecheap.go +++ b/providers/dns/namecheap/namecheap.go @@ -94,7 +94,7 @@ func NewDNSProvider() (*DNSProvider, error) { return NewDNSProviderConfig(config) } -// NewDNSProviderConfig return a DNSProvider instance configured for namecheap. +// NewDNSProviderConfig return a DNSProvider instance configured for Namecheap. func NewDNSProviderConfig(config *Config) (*DNSProvider, error) { if config == nil { return nil, errors.New("namecheap: the configuration of the DNS provider is nil") diff --git a/providers/dns/namedotcom/namedotcom.go b/providers/dns/namedotcom/namedotcom.go index df172f5e..7063e5ef 100644 --- a/providers/dns/namedotcom/namedotcom.go +++ b/providers/dns/namedotcom/namedotcom.go @@ -39,7 +39,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { client *namecom.NameCom config *Config diff --git a/providers/dns/namesilo/namesilo.go b/providers/dns/namesilo/namesilo.go index 6a121bdd..c6986414 100644 --- a/providers/dns/namesilo/namesilo.go +++ b/providers/dns/namesilo/namesilo.go @@ -34,7 +34,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { client *namesilo.Client config *Config @@ -56,7 +56,7 @@ func NewDNSProvider() (*DNSProvider, error) { return NewDNSProviderConfig(config) } -// NewDNSProviderConfig return a DNSProvider instance configured for DNSimple. +// NewDNSProviderConfig return a DNSProvider instance configured for Namesilo. func NewDNSProviderConfig(config *Config) (*DNSProvider, error) { if config == nil { return nil, errors.New("namesilo: the configuration of the DNS provider is nil") diff --git a/providers/dns/netcup/netcup.go b/providers/dns/netcup/netcup.go index e0b46f89..705564fd 100644 --- a/providers/dns/netcup/netcup.go +++ b/providers/dns/netcup/netcup.go @@ -38,7 +38,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { client *internal.Client config *Config diff --git a/providers/dns/nifcloud/nifcloud.go b/providers/dns/nifcloud/nifcloud.go index 154725b1..a01f091b 100644 --- a/providers/dns/nifcloud/nifcloud.go +++ b/providers/dns/nifcloud/nifcloud.go @@ -37,7 +37,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider implements the acme.ChallengeProvider interface +// DNSProvider implements the challenge.Provider interface type DNSProvider struct { client *internal.Client config *Config diff --git a/providers/dns/ns1/ns1.go b/providers/dns/ns1/ns1.go index f8064324..aaf36449 100644 --- a/providers/dns/ns1/ns1.go +++ b/providers/dns/ns1/ns1.go @@ -36,7 +36,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { client *rest.Client config *Config diff --git a/providers/dns/oraclecloud/oraclecloud.go b/providers/dns/oraclecloud/oraclecloud.go index 716211ed..d647cf91 100644 --- a/providers/dns/oraclecloud/oraclecloud.go +++ b/providers/dns/oraclecloud/oraclecloud.go @@ -35,7 +35,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { client *dns.DnsClient config *Config diff --git a/providers/dns/otc/otc.go b/providers/dns/otc/otc.go index 184de796..6e381005 100644 --- a/providers/dns/otc/otc.go +++ b/providers/dns/otc/otc.go @@ -58,7 +58,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface that uses +// DNSProvider is an implementation of the challenge.Provider interface that uses // OTC's Managed DNS API to manage TXT records for a domain. type DNSProvider struct { config *Config diff --git a/providers/dns/ovh/ovh.go b/providers/dns/ovh/ovh.go index c4c4b704..9b96dd0f 100644 --- a/providers/dns/ovh/ovh.go +++ b/providers/dns/ovh/ovh.go @@ -51,7 +51,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface // that uses OVH's REST API to manage TXT records for a domain. type DNSProvider struct { config *Config diff --git a/providers/dns/pdns/pdns.go b/providers/dns/pdns/pdns.go index 60bc42bc..d0471fb9 100644 --- a/providers/dns/pdns/pdns.go +++ b/providers/dns/pdns/pdns.go @@ -37,7 +37,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface type DNSProvider struct { apiVersion int config *Config diff --git a/providers/dns/rackspace/rackspace.go b/providers/dns/rackspace/rackspace.go index fa1950e8..7adb7565 100644 --- a/providers/dns/rackspace/rackspace.go +++ b/providers/dns/rackspace/rackspace.go @@ -40,7 +40,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface +// DNSProvider is an implementation of the challenge.Provider interface // used to store the reusable token and DNS API endpoint type DNSProvider struct { config *Config diff --git a/providers/dns/rfc2136/rfc2136.go b/providers/dns/rfc2136/rfc2136.go index 4ed00352..b1c3ffb3 100644 --- a/providers/dns/rfc2136/rfc2136.go +++ b/providers/dns/rfc2136/rfc2136.go @@ -38,7 +38,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface that +// DNSProvider is an implementation of the challenge.Provider interface that // uses dynamic DNS updates (RFC 2136) to create TXT records on a nameserver. type DNSProvider struct { config *Config diff --git a/providers/dns/route53/route53.go b/providers/dns/route53/route53.go index e8ffc680..3c86b0b3 100644 --- a/providers/dns/route53/route53.go +++ b/providers/dns/route53/route53.go @@ -38,7 +38,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider implements the acme.ChallengeProvider interface +// DNSProvider implements the challenge.Provider interface type DNSProvider struct { client *route53.Route53 config *Config diff --git a/providers/dns/sakuracloud/sakuracloud.go b/providers/dns/sakuracloud/sakuracloud.go index 969ba2c3..b617b383 100644 --- a/providers/dns/sakuracloud/sakuracloud.go +++ b/providers/dns/sakuracloud/sakuracloud.go @@ -34,7 +34,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { config *Config client *api.DNSAPI diff --git a/providers/dns/selectel/selectel.go b/providers/dns/selectel/selectel.go index aab1a6a3..cc1d39f2 100644 --- a/providers/dns/selectel/selectel.go +++ b/providers/dns/selectel/selectel.go @@ -52,7 +52,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { config *Config client *internal.Client diff --git a/providers/dns/stackpath/stackpath.go b/providers/dns/stackpath/stackpath.go index c68589a7..c618e179 100644 --- a/providers/dns/stackpath/stackpath.go +++ b/providers/dns/stackpath/stackpath.go @@ -41,7 +41,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { BaseURL *url.URL client *http.Client diff --git a/providers/dns/versio/versio.go b/providers/dns/versio/versio.go index 9542cc6e..724886a1 100644 --- a/providers/dns/versio/versio.go +++ b/providers/dns/versio/versio.go @@ -64,7 +64,7 @@ func NewDNSProvider() (*DNSProvider, error) { return NewDNSProviderConfig(config) } -// NewDNSProviderConfig return a DNSProvider . +// NewDNSProviderConfig return a DNSProvider instance configured for Versio. func NewDNSProviderConfig(config *Config) (*DNSProvider, error) { if config == nil { return nil, errors.New("versio: the configuration of the DNS provider is nil") diff --git a/providers/dns/vscale/vscale.go b/providers/dns/vscale/vscale.go index 047497f1..59b03dc2 100644 --- a/providers/dns/vscale/vscale.go +++ b/providers/dns/vscale/vscale.go @@ -53,7 +53,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { config *Config client *internal.Client diff --git a/providers/dns/vultr/vultr.go b/providers/dns/vultr/vultr.go index a22c052d..90a66894 100644 --- a/providers/dns/vultr/vultr.go +++ b/providers/dns/vultr/vultr.go @@ -42,7 +42,7 @@ func NewDefaultConfig() *Config { } } -// DNSProvider is an implementation of the acme.ChallengeProvider interface. +// DNSProvider is an implementation of the challenge.Provider interface. type DNSProvider struct { config *Config client *govultr.Client diff --git a/providers/dns/zoneee/zoneee.go b/providers/dns/zoneee/zoneee.go index 6fc6880b..7e3f8e2f 100644 --- a/providers/dns/zoneee/zoneee.go +++ b/providers/dns/zoneee/zoneee.go @@ -63,7 +63,7 @@ func NewDNSProvider() (*DNSProvider, error) { return NewDNSProviderConfig(config) } -// NewDNSProviderConfig return a DNSProvider . +// NewDNSProviderConfig return a DNSProvider instance configured for Zone.ee func NewDNSProviderConfig(config *Config) (*DNSProvider, error) { if config == nil { return nil, errors.New("zoneee: the configuration of the DNS provider is nil")