You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: providers/dns/multi/multi.go
+16-11Lines changed: 16 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,22 @@ type DNSProvider struct {
56
56
providersmap[string]acme.ChallengeProvider
57
57
}
58
58
59
+
// NewDNSProvider creates a new multiple-provider meta-provider. It will look for a json configuration in "MULTI_CONFIG", or on disk from "MULTI_CONFIG_FILE"
60
+
funcNewDNSProvider() (*DNSProvider, error) {
61
+
config, err:=getConfig()
62
+
iferr!=nil {
63
+
returnnil, err
64
+
}
65
+
return&DNSProvider{
66
+
providers: map[string]acme.ChallengeProvider{},
67
+
config: config,
68
+
}, nil
69
+
}
70
+
59
71
// AggregateProvider is simply a list of dns providers. All Challenges are filled by all members of the aggregate.
60
72
typeAggregateProvider []acme.ChallengeProvider
61
73
74
+
// Present creates the txt record in all child dns providers
0 commit comments