1//go:build libdns_leaseweb || libdns_all2// +build libdns_leaseweb libdns_all34package libdns56import (7 "github.com/foxcpp/maddy/framework/config"8 "github.com/foxcpp/maddy/framework/module"9 "github.com/libdns/leaseweb"10)1112func init() {13 module.Register("libdns.leaseweb", func(modName, instName string, _, _ []string) (module.Module, error) {14 p := leaseweb.Provider{}15 return &ProviderModule{16 RecordDeleter: &p,17 RecordAppender: &p,18 setConfig: func(c *config.Map) {19 c.String("api_key", false, false, "", &p.APIKey)20 },21 instName: instName,22 modName: modName,23 }, nil24 })25}