httpnet: add provider to NewDNSChallengeProviderByName (#2146)

This commit is contained in:
Ludovic Fernandez 2024-03-27 11:19:07 +01:00 committed by GitHub
parent 8dd1fa5a32
commit ef9086a0f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,6 +58,7 @@ import (
"github.com/go-acme/lego/v4/providers/dns/hetzner" "github.com/go-acme/lego/v4/providers/dns/hetzner"
"github.com/go-acme/lego/v4/providers/dns/hostingde" "github.com/go-acme/lego/v4/providers/dns/hostingde"
"github.com/go-acme/lego/v4/providers/dns/hosttech" "github.com/go-acme/lego/v4/providers/dns/hosttech"
"github.com/go-acme/lego/v4/providers/dns/httpnet"
"github.com/go-acme/lego/v4/providers/dns/httpreq" "github.com/go-acme/lego/v4/providers/dns/httpreq"
"github.com/go-acme/lego/v4/providers/dns/hurricane" "github.com/go-acme/lego/v4/providers/dns/hurricane"
"github.com/go-acme/lego/v4/providers/dns/hyperone" "github.com/go-acme/lego/v4/providers/dns/hyperone"
@ -244,6 +245,8 @@ func NewDNSChallengeProviderByName(name string) (challenge.Provider, error) {
return hostingde.NewDNSProvider() return hostingde.NewDNSProvider()
case "hosttech": case "hosttech":
return hosttech.NewDNSProvider() return hosttech.NewDNSProvider()
case "httpnet":
return httpnet.NewDNSProvider()
case "httpreq": case "httpreq":
return httpreq.NewDNSProvider() return httpreq.NewDNSProvider()
case "hurricane": case "hurricane":