chore: update module path to git.kingecg.top

This commit is contained in:
kingecg 2025-06-25 23:54:32 +08:00
parent c290c98bae
commit de1bbbfb7b
14 changed files with 27 additions and 27 deletions

View File

@ -209,8 +209,8 @@ sudo journalctl -u gohttpd.service
### 依赖库 ### 依赖库
- `module git.kingecg.top/kingecg/cmux`: 多路复用支持 - `module git.kingecg.top/kingecg/cmux`: 多路复用支持
- `git.pyer.club/kingecg/godaemon`: 守护进程支持 - `git.kingecg.top/kingecg/godaemon`: 守护进程支持
- `git.pyer.club/kingecg/gologger`: 自定义日志库 - `git.kingecg.top/kingecg/gologger`: 自定义日志库
- `github.com/golang-jwt/jwt/v5`: JWT支持 - `github.com/golang-jwt/jwt/v5`: JWT支持
- `github.com/nanmu42/gzip`: Gzip压缩支持 - `github.com/nanmu42/gzip`: Gzip压缩支持
- `github.com/samber/lo`: 工具库 - `github.com/samber/lo`: 工具库

View File

@ -6,7 +6,7 @@ import (
"runtime" "runtime"
"module git.kingecg.top/kingecg/gohttpd/model" "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框架导入 "github.com/gin-gonic/gin" // 添加Gin框架导入
) )

View File

@ -9,7 +9,7 @@ import (
"time" "time"
"module git.kingecg.top/kingecg/gohttpd/model" "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/gin-gonic/gin"
"github.com/golang-jwt/jwt/v5" "github.com/golang-jwt/jwt/v5"
) )

6
go.mod
View File

@ -5,9 +5,9 @@ go 1.23.0
toolchain go1.23.1 toolchain go1.23.1
require ( require (
module git.kingecg.top/kingecg/cmux v0.0.0-20250603150926-1a9da8d893b9 git.kingecg.top/kingecg/cmux v0.0.0-20250603150926-1a9da8d893b9
git.pyer.club/kingecg/godaemon v0.0.0-20231210104221-3a72649c6511 git.kingecg.top/kingecg/godaemon v0.0.0-20231210104221-3a72649c6511
git.pyer.club/kingecg/gologger v1.0.1 git.kingecg.top/kingecg/gologger v1.0.1
github.com/golang-jwt/jwt/v5 v5.2.1 github.com/golang-jwt/jwt/v5 v5.2.1
github.com/nanmu42/gzip v1.2.0 github.com/nanmu42/gzip v1.2.0
github.com/samber/lo v1.39.0 github.com/samber/lo v1.39.0

10
go.sum
View File

@ -1,9 +1,9 @@
module git.kingecg.top/kingecg/cmux v0.0.0-20250603150926-1a9da8d893b9 h1:0J9uGBOIhoonvvn1F7OSMrdhRq2KCYrRxdkSvUm4oGg= 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.kingecg.top/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.kingecg.top/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.kingecg.top/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.kingecg.top/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/gologger v1.0.1/go.mod h1:SNSl2jRHPzIpHSzdKOoVG798rtYMjPDPFyxUrEgivkY=
github.com/bytedance/sonic v1.13.3 h1:MS8gmaH16Gtirygw7jV91pDCN33NyMrPbN7qiYhEsF0= 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 v1.13.3/go.mod h1:o68xyaF9u2gvVBuGHPlUVCy+ZfmNNO5ETf1+KgkJhz4=
github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU= github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=

View File

@ -8,10 +8,10 @@ import (
"strings" "strings"
"module git.kingecg.top/kingecg/gohttpd/admin" "module git.kingecg.top/kingecg/gohttpd/admin"
"git.pyer.club/kingecg/gohttpd/model" "git.kingecg.top/kingecg/gohttpd/model"
"git.pyer.club/kingecg/gohttpd/server" "git.kingecg.top/kingecg/gohttpd/server"
"git.pyer.club/kingecg/gohttpd/utils" "git.kingecg.top/kingecg/gohttpd/utils"
"git.pyer.club/kingecg/gologger" "git.kingecg.top/kingecg/gologger"
) )
type GoHttp struct { type GoHttp struct {

View File

@ -10,8 +10,8 @@ import (
"time" "time"
"module git.kingecg.top/kingecg/gohttpd/healthcheck" "module git.kingecg.top/kingecg/gohttpd/healthcheck"
"git.pyer.club/kingecg/gohttpd/model" "git.kingecg.top/kingecg/gohttpd/model"
"git.pyer.club/kingecg/gologger" "git.kingecg.top/kingecg/gologger"
) )
type ProxyHandler struct { type ProxyHandler struct {

View File

@ -6,7 +6,7 @@ import (
"syscall" "syscall"
"module git.kingecg.top/kingecg/godaemon" "module git.kingecg.top/kingecg/godaemon"
"git.pyer.club/kingecg/gologger" "git.kingecg.top/kingecg/gologger"
) )
// main 函数是程序的入口点 // main 函数是程序的入口点

View File

@ -5,7 +5,7 @@ import (
"os" "os"
"module git.kingecg.top/kingecg/gohttpd/utils" "module git.kingecg.top/kingecg/gohttpd/utils"
"git.pyer.club/kingecg/gologger" "git.kingecg.top/kingecg/gologger"
) )
// HealthCheckConfig 定义健康检查配置 // HealthCheckConfig 定义健康检查配置

View File

@ -5,7 +5,7 @@ import (
"crypto/tls" "crypto/tls"
"module git.kingecg.top/kingecg/gohttpd/utils" "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"
"golang.org/x/crypto/acme/autocert" "golang.org/x/crypto/acme/autocert"
) )

View File

@ -8,7 +8,7 @@ import (
// "compress/gzip" // "compress/gzip"
"module git.kingecg.top/kingecg/gohttpd/model" "module git.kingecg.top/kingecg/gohttpd/model"
"git.pyer.club/kingecg/gologger" "git.kingecg.top/kingecg/gologger"
"github.com/nanmu42/gzip" "github.com/nanmu42/gzip"
) )

View File

@ -10,8 +10,8 @@ import (
"io" "io"
"module git.kingecg.top/kingecg/cmux" "module git.kingecg.top/kingecg/cmux"
"git.pyer.club/kingecg/gohttpd/model" "git.kingecg.top/kingecg/gohttpd/model"
logger "git.pyer.club/kingecg/gologger" logger "git.kingecg.top/kingecg/gologger"
) )
var ServerManager map[string]*ServerListener = make(map[string]*ServerListener) var ServerManager map[string]*ServerListener = make(map[string]*ServerListener)

View File

@ -11,7 +11,7 @@ import (
"strings" "strings"
"module git.kingecg.top/kingecg/gohttpd/model" "module git.kingecg.top/kingecg/gohttpd/model"
"git.pyer.club/kingecg/gologger" "git.kingecg.top/kingecg/gologger"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/golang-jwt/jwt/v5" "github.com/golang-jwt/jwt/v5"
) )

View File

@ -8,8 +8,8 @@ import (
"strings" "strings"
handler "module git.kingecg.top/kingecg/gohttpd/handler" handler "module git.kingecg.top/kingecg/gohttpd/handler"
"git.pyer.club/kingecg/gohttpd/model" "git.kingecg.top/kingecg/gohttpd/model"
logger "git.pyer.club/kingecg/gologger" logger "git.kingecg.top/kingecg/gologger"
) )
type RequestCtxKey string type RequestCtxKey string