From 7685e2adcf04a9894cbb534ac7a5dbb0817fb68e Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Mon, 5 Aug 2024 12:25:34 +0200 Subject: [PATCH] tree: rework Signed-off-by: AuxXxilium --- dyndns/go.mod | 2 +- dyndns/handler/cname.go | 4 ++-- dyndns/handler/handler.go | 4 ++-- dyndns/handler/host.go | 4 ++-- dyndns/handler/log.go | 2 +- dyndns/main.go | 2 +- dyndns/nswrapper/ip.go | 5 +++-- 7 files changed, 12 insertions(+), 11 deletions(-) diff --git a/dyndns/go.mod b/dyndns/go.mod index a45f6a0..271c4ec 100644 --- a/dyndns/go.mod +++ b/dyndns/go.mod @@ -1,4 +1,4 @@ -module github.com/benjaminbear/docker-ddns-server/dyndns +module github.com/AuxXxilium/docker-ddns-server/dyndns go 1.22 diff --git a/dyndns/handler/cname.go b/dyndns/handler/cname.go index 82423b8..8d2eeeb 100644 --- a/dyndns/handler/cname.go +++ b/dyndns/handler/cname.go @@ -5,8 +5,8 @@ import ( "net/http" "strconv" - "github.com/benjaminbear/docker-ddns-server/dyndns/model" - "github.com/benjaminbear/docker-ddns-server/dyndns/nswrapper" + "github.com/AuxXxilium/docker-ddns-server/dyndns/model" + "github.com/AuxXxilium/docker-ddns-server/dyndns/nswrapper" "github.com/labstack/echo/v4" "gorm.io/gorm" ) diff --git a/dyndns/handler/handler.go b/dyndns/handler/handler.go index 6827e4a..5167ece 100644 --- a/dyndns/handler/handler.go +++ b/dyndns/handler/handler.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/benjaminbear/docker-ddns-server/dyndns/model" + "github.com/AuxXxilium/docker-ddns-server/dyndns/model" "github.com/go-playground/validator/v10" "github.com/labstack/echo/v4" "github.com/tg123/go-htpasswd" @@ -119,7 +119,7 @@ func (h *Handler) ParseEnvs() (adminAuth bool, err error) { var ok bool h.Title, ok = os.LookupEnv("DDNS_TITLE") if !ok { - h.Title = "TheBBCloud DynDNS" + h.Title = "Arc DDNS Service" } allowWildcard, ok := os.LookupEnv("DDNS_ALLOW_WILDCARD") if ok { diff --git a/dyndns/handler/host.go b/dyndns/handler/host.go index 0bdb6c4..ef1c723 100644 --- a/dyndns/handler/host.go +++ b/dyndns/handler/host.go @@ -9,9 +9,9 @@ import ( l "github.com/labstack/gommon/log" - "github.com/benjaminbear/docker-ddns-server/dyndns/nswrapper" + "github.com/AuxXxilium/docker-ddns-server/dyndns/nswrapper" - "github.com/benjaminbear/docker-ddns-server/dyndns/model" + "github.com/AuxXxilium/docker-ddns-server/dyndns/model" "github.com/labstack/echo/v4" "gorm.io/gorm" ) diff --git a/dyndns/handler/log.go b/dyndns/handler/log.go index 569c110..9e5da20 100644 --- a/dyndns/handler/log.go +++ b/dyndns/handler/log.go @@ -6,7 +6,7 @@ import ( "strconv" "time" - "github.com/benjaminbear/docker-ddns-server/dyndns/model" + "github.com/AuxXxilium/docker-ddns-server/dyndns/model" "github.com/labstack/echo/v4" ) diff --git a/dyndns/main.go b/dyndns/main.go index f63d104..4b5cb57 100644 --- a/dyndns/main.go +++ b/dyndns/main.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/benjaminbear/docker-ddns-server/dyndns/handler" + "github.com/AuxXxilium/docker-ddns-server/dyndns/handler" "github.com/foolin/goview" "github.com/foolin/goview/supports/echoview-v4" "github.com/go-playground/validator/v10" diff --git a/dyndns/nswrapper/ip.go b/dyndns/nswrapper/ip.go index 90fba50..df7138d 100644 --- a/dyndns/nswrapper/ip.go +++ b/dyndns/nswrapper/ip.go @@ -3,12 +3,13 @@ package nswrapper import ( "bytes" "errors" - "github.com/labstack/gommon/log" "net" "net/http" "strings" - "github.com/benjaminbear/docker-ddns-server/dyndns/ipparser" + "github.com/labstack/gommon/log" + + "github.com/AuxXxilium/docker-ddns-server/dyndns/ipparser" ) // GetIPType finds out if the IP is IPv4 or IPv6