From de1bbbfb7ba344ee8eaaae390d3d6f78992f7c2b Mon Sep 17 00:00:00 2001 From: kingecg Date: Wed, 25 Jun 2025 23:54:32 +0800 Subject: [PATCH] chore: update module path to git.kingecg.top --- README.md | 4 ++-- admin/admin.go | 2 +- admin/login.go | 2 +- go.mod | 6 +++--- go.sum | 10 +++++----- gohttp.go | 8 ++++---- handler/proxy.go | 4 ++-- main.go | 2 +- model/model.go | 2 +- server/autossl.go | 2 +- server/directive.go | 2 +- server/manager.go | 4 ++-- server/middleware.go | 2 +- server/server.go | 4 ++-- 14 files changed, 27 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 7c681fd..aadbee1 100644 --- a/README.md +++ b/README.md @@ -209,8 +209,8 @@ sudo journalctl -u gohttpd.service ### 依赖库 - `module git.kingecg.top/kingecg/cmux`: 多路复用支持 -- `git.pyer.club/kingecg/godaemon`: 守护进程支持 -- `git.pyer.club/kingecg/gologger`: 自定义日志库 +- `git.kingecg.top/kingecg/godaemon`: 守护进程支持 +- `git.kingecg.top/kingecg/gologger`: 自定义日志库 - `github.com/golang-jwt/jwt/v5`: JWT支持 - `github.com/nanmu42/gzip`: Gzip压缩支持 - `github.com/samber/lo`: 工具库 diff --git a/admin/admin.go b/admin/admin.go index c4c3c33..a15c686 100644 --- a/admin/admin.go +++ b/admin/admin.go @@ -6,7 +6,7 @@ import ( "runtime" "module git.kingecg.top/kingecg/gohttpd/model" - "git.pyer.club/kingecg/gohttpd/server" + "git.kingecg.top/kingecg/gohttpd/server" "github.com/gin-gonic/gin" // 添加Gin框架导入 ) diff --git a/admin/login.go b/admin/login.go index 972030d..e9c3114 100644 --- a/admin/login.go +++ b/admin/login.go @@ -9,7 +9,7 @@ import ( "time" "module git.kingecg.top/kingecg/gohttpd/model" - "git.pyer.club/kingecg/gohttpd/server" + "git.kingecg.top/kingecg/gohttpd/server" "github.com/gin-gonic/gin" "github.com/golang-jwt/jwt/v5" ) diff --git a/go.mod b/go.mod index 3cbad94..d8f178c 100644 --- a/go.mod +++ b/go.mod @@ -5,9 +5,9 @@ go 1.23.0 toolchain go1.23.1 require ( - module git.kingecg.top/kingecg/cmux v0.0.0-20250603150926-1a9da8d893b9 - git.pyer.club/kingecg/godaemon v0.0.0-20231210104221-3a72649c6511 - git.pyer.club/kingecg/gologger v1.0.1 + git.kingecg.top/kingecg/cmux v0.0.0-20250603150926-1a9da8d893b9 + git.kingecg.top/kingecg/godaemon v0.0.0-20231210104221-3a72649c6511 + git.kingecg.top/kingecg/gologger v1.0.1 github.com/golang-jwt/jwt/v5 v5.2.1 github.com/nanmu42/gzip v1.2.0 github.com/samber/lo v1.39.0 diff --git a/go.sum b/go.sum index 5dae7ea..3280588 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +1,9 @@ module git.kingecg.top/kingecg/cmux v0.0.0-20250603150926-1a9da8d893b9 h1:0J9uGBOIhoonvvn1F7OSMrdhRq2KCYrRxdkSvUm4oGg= -git.pyer.club/kingecg/cmux v0.0.0-20250603150926-1a9da8d893b9/go.mod h1:z3C1aFTj8jWd0I/4w3noDrnI1aEJbAKa2CFKcntArnI= -git.pyer.club/kingecg/godaemon v0.0.0-20231210104221-3a72649c6511 h1:qgNgm8ewkZdK7S3gaMagPKi90wgHpuGjpQdBVz21tjE= -git.pyer.club/kingecg/godaemon v0.0.0-20231210104221-3a72649c6511/go.mod h1:6cL7tPbT1m6EaTvrbDg/YhoZG0Mms8WBD10yRGhng4o= -git.pyer.club/kingecg/gologger v1.0.1 h1:snCb0ePlfDUglX+CHwNzq5MRK5uNTnPUks1Dnapl/p8= -git.pyer.club/kingecg/gologger v1.0.1/go.mod h1:SNSl2jRHPzIpHSzdKOoVG798rtYMjPDPFyxUrEgivkY= +git.kingecg.top/kingecg/cmux v0.0.0-20250603150926-1a9da8d893b9/go.mod h1:z3C1aFTj8jWd0I/4w3noDrnI1aEJbAKa2CFKcntArnI= +git.kingecg.top/kingecg/godaemon v0.0.0-20231210104221-3a72649c6511 h1:qgNgm8ewkZdK7S3gaMagPKi90wgHpuGjpQdBVz21tjE= +git.kingecg.top/kingecg/godaemon v0.0.0-20231210104221-3a72649c6511/go.mod h1:6cL7tPbT1m6EaTvrbDg/YhoZG0Mms8WBD10yRGhng4o= +git.kingecg.top/kingecg/gologger v1.0.1 h1:snCb0ePlfDUglX+CHwNzq5MRK5uNTnPUks1Dnapl/p8= +git.kingecg.top/kingecg/gologger v1.0.1/go.mod h1:SNSl2jRHPzIpHSzdKOoVG798rtYMjPDPFyxUrEgivkY= github.com/bytedance/sonic v1.13.3 h1:MS8gmaH16Gtirygw7jV91pDCN33NyMrPbN7qiYhEsF0= github.com/bytedance/sonic v1.13.3/go.mod h1:o68xyaF9u2gvVBuGHPlUVCy+ZfmNNO5ETf1+KgkJhz4= github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU= diff --git a/gohttp.go b/gohttp.go index 20a9901..ea0dcd8 100644 --- a/gohttp.go +++ b/gohttp.go @@ -8,10 +8,10 @@ import ( "strings" "module git.kingecg.top/kingecg/gohttpd/admin" - "git.pyer.club/kingecg/gohttpd/model" - "git.pyer.club/kingecg/gohttpd/server" - "git.pyer.club/kingecg/gohttpd/utils" - "git.pyer.club/kingecg/gologger" + "git.kingecg.top/kingecg/gohttpd/model" + "git.kingecg.top/kingecg/gohttpd/server" + "git.kingecg.top/kingecg/gohttpd/utils" + "git.kingecg.top/kingecg/gologger" ) type GoHttp struct { diff --git a/handler/proxy.go b/handler/proxy.go index 61cb283..1ddebb6 100644 --- a/handler/proxy.go +++ b/handler/proxy.go @@ -10,8 +10,8 @@ import ( "time" "module git.kingecg.top/kingecg/gohttpd/healthcheck" - "git.pyer.club/kingecg/gohttpd/model" - "git.pyer.club/kingecg/gologger" + "git.kingecg.top/kingecg/gohttpd/model" + "git.kingecg.top/kingecg/gologger" ) type ProxyHandler struct { diff --git a/main.go b/main.go index 04fe25d..9ae9dea 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ import ( "syscall" "module git.kingecg.top/kingecg/godaemon" - "git.pyer.club/kingecg/gologger" + "git.kingecg.top/kingecg/gologger" ) // main 函数是程序的入口点 diff --git a/model/model.go b/model/model.go index cee7d11..93443d3 100644 --- a/model/model.go +++ b/model/model.go @@ -5,7 +5,7 @@ import ( "os" "module git.kingecg.top/kingecg/gohttpd/utils" - "git.pyer.club/kingecg/gologger" + "git.kingecg.top/kingecg/gologger" ) // HealthCheckConfig 定义健康检查配置 diff --git a/server/autossl.go b/server/autossl.go index 44502aa..76a2086 100644 --- a/server/autossl.go +++ b/server/autossl.go @@ -5,7 +5,7 @@ import ( "crypto/tls" "module git.kingecg.top/kingecg/gohttpd/utils" - "git.pyer.club/kingecg/gologger" + "git.kingecg.top/kingecg/gologger" "golang.org/x/crypto/acme" "golang.org/x/crypto/acme/autocert" ) diff --git a/server/directive.go b/server/directive.go index 6bb5d23..1973578 100644 --- a/server/directive.go +++ b/server/directive.go @@ -8,7 +8,7 @@ import ( // "compress/gzip" "module git.kingecg.top/kingecg/gohttpd/model" - "git.pyer.club/kingecg/gologger" + "git.kingecg.top/kingecg/gologger" "github.com/nanmu42/gzip" ) diff --git a/server/manager.go b/server/manager.go index a09250c..09ebed4 100644 --- a/server/manager.go +++ b/server/manager.go @@ -10,8 +10,8 @@ import ( "io" "module git.kingecg.top/kingecg/cmux" - "git.pyer.club/kingecg/gohttpd/model" - logger "git.pyer.club/kingecg/gologger" + "git.kingecg.top/kingecg/gohttpd/model" + logger "git.kingecg.top/kingecg/gologger" ) var ServerManager map[string]*ServerListener = make(map[string]*ServerListener) diff --git a/server/middleware.go b/server/middleware.go index f3b133d..dcdbbd3 100644 --- a/server/middleware.go +++ b/server/middleware.go @@ -11,7 +11,7 @@ import ( "strings" "module git.kingecg.top/kingecg/gohttpd/model" - "git.pyer.club/kingecg/gologger" + "git.kingecg.top/kingecg/gologger" "github.com/gin-gonic/gin" "github.com/golang-jwt/jwt/v5" ) diff --git a/server/server.go b/server/server.go index 24f3751..b0e9df8 100644 --- a/server/server.go +++ b/server/server.go @@ -8,8 +8,8 @@ import ( "strings" handler "module git.kingecg.top/kingecg/gohttpd/handler" - "git.pyer.club/kingecg/gohttpd/model" - logger "git.pyer.club/kingecg/gologger" + "git.kingecg.top/kingecg/gohttpd/model" + logger "git.kingecg.top/kingecg/gologger" ) type RequestCtxKey string