Documentation ¶
Index ¶
Constants ¶
View Source
const ( ZEROSSL_ERR_NEW_ACCOUNT_TOO_MANY_REQUESTS = "429 ::POST :: https://acme.zerossl.com/v2/DV90/newAccount" ZEROSSL_ERR_NEW_NONCE_TOO_MANY_REQUESTS = "429 ::HEAD :: https://acme.zerossl.com/v2/DV90/newNonce" ZEROSSL_ERR_GET_DIRECTORY_TOO_MANY_REQUESTS = "429 ::GET :: https://acme.zerossl.com/v2/DV90" ZEROSSL_ERR_AUTHZ_TOO_MANY_REQUESTS = "429 ::POST :: https://acme.zerossl.com/v2/DV90/authz" ZEROSSL_ERR_NEW_ORDER_TOO_MANY_REQUESTS = "429 ::POST :: https://acme.zerossl.com/v2/DV90/newOrder" ZEROSSL_ERR_ACCOUNT_TOO_MANY_REQUESTS = "429 ::POST :: https://acme.zerossl.com/v2/DV90/account" ZEROSSL_ERR_REVOKE_CERT_TOO_MANY_REQUESTS = "429 ::POST :: https://acme.zerossl.com/v2/DV90/revokeCert" ZEROSSL_ERR_CHALLENGE_TOO_MANY_REQUESTS = "429 ::POST :: https://acme.zerossl.com/v2/DV90/chall" LETSENCRYPT_ERR_RATE_LIMITED = "429 :: POST :: https://acme-staging-v02.api.letsencrypt.org/acme/new-acct" ERR_TIME_LIMIT_EXCEEDED = "time limit exceeded" ERR_SERVER_NO_RESPONSE = "net/http: timeout awaiting response headers" )
View Source
const (
DefaultMaxElapsedTime = 120 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // The ACME server URL. ServerURL string }
Config represents the configuration of the provider.
type DNSProviderWrapper ¶
type DNSProviderWrapper struct {
// contains filtered or unexported fields
}
DNSProviderWrapper is a multi-provider wrapper to support multiple DNS challenges.
func NewDNSProviderWrapper ¶
func NewDNSProviderWrapper() (*DNSProviderWrapper, error)
NewDNSProviderWrapper returns an freshly initialized DNSProviderWrapper.
func (*DNSProviderWrapper) CleanUp ¶
func (d *DNSProviderWrapper) CleanUp(domain, token, keyAuth string) error
CleanUp implements challenge.Provider for DNSProviderWrapper.
func (*DNSProviderWrapper) Present ¶
func (d *DNSProviderWrapper) Present(domain, token, keyAuth string) error
Present implements challenge.Provider for DNSProviderWrapper.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.