mirror of
https://github.com/AuxXxilium/docker-ddns-server.git
synced 2024-11-23 14:50:59 +07:00
tree: rework
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
6cc20a66e5
commit
7685e2adcf
@ -1,4 +1,4 @@
|
||||
module github.com/benjaminbear/docker-ddns-server/dyndns
|
||||
module github.com/AuxXxilium/docker-ddns-server/dyndns
|
||||
|
||||
go 1.22
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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 {
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user