mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 00:43:53 -04:00
Maintenance: underscore for unused matcher args
This commit is contained in:
@@ -25,7 +25,7 @@ type ddnss struct {
|
||||
}
|
||||
|
||||
func NewDdnss(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
|
||||
@@ -22,7 +22,7 @@ type digitalOcean struct {
|
||||
}
|
||||
|
||||
func NewDigitalOcean(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Token string `json:"token"`
|
||||
}{}
|
||||
|
||||
@@ -22,7 +22,7 @@ type dnspod struct {
|
||||
}
|
||||
|
||||
func NewDNSPod(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Token string `json:"token"`
|
||||
}{}
|
||||
|
||||
@@ -24,7 +24,7 @@ type donDominio struct {
|
||||
}
|
||||
|
||||
func NewDonDominio(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
|
||||
@@ -24,7 +24,7 @@ type dyn struct {
|
||||
}
|
||||
|
||||
func NewDyn(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
|
||||
@@ -21,7 +21,7 @@ type dynV6 struct {
|
||||
}
|
||||
|
||||
func NewDynV6(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Token string `json:"token"`
|
||||
UseProviderIP bool `json:"provider_ip"`
|
||||
|
||||
@@ -23,7 +23,7 @@ type freedns struct {
|
||||
}
|
||||
|
||||
func NewFreedns(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Token string `json:"token"`
|
||||
}{}
|
||||
|
||||
@@ -23,7 +23,7 @@ type gandi struct {
|
||||
}
|
||||
|
||||
func NewGandi(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Key string `json:"key"`
|
||||
TTL int `json:"ttl"`
|
||||
|
||||
@@ -26,7 +26,7 @@ type google struct {
|
||||
}
|
||||
|
||||
func NewGoogle(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
|
||||
@@ -25,7 +25,7 @@ type he struct {
|
||||
}
|
||||
|
||||
func NewHe(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Password string `json:"password"`
|
||||
UseProviderIP bool `json:"provider_ip"`
|
||||
|
||||
@@ -25,7 +25,7 @@ type infomaniak struct {
|
||||
}
|
||||
|
||||
func NewInfomaniak(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
|
||||
@@ -26,7 +26,7 @@ type noip struct {
|
||||
}
|
||||
|
||||
func NewNoip(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
|
||||
@@ -24,7 +24,7 @@ type opendns struct {
|
||||
}
|
||||
|
||||
func NewOpendns(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
|
||||
@@ -30,7 +30,7 @@ type ovh struct {
|
||||
}
|
||||
|
||||
func NewOVH(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
|
||||
@@ -24,7 +24,7 @@ type selfhostde struct {
|
||||
}
|
||||
|
||||
func NewSelfhostde(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
|
||||
@@ -23,7 +23,7 @@ type strato struct {
|
||||
}
|
||||
|
||||
func NewStrato(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
|
||||
matcher regex.Matcher) (s Settings, err error) {
|
||||
_ regex.Matcher) (s Settings, err error) {
|
||||
extraSettings := struct {
|
||||
Password string `json:"password"`
|
||||
UseProviderIP bool `json:"provider_ip"`
|
||||
|
||||
Reference in New Issue
Block a user