kingecg
5392c13086
fix problems
2026-07-11 11:38:51 +08:00
kingecg
8537d9c3a0
```
...
feat: upgrade dependencies and enhance daemon logging
- Upgrade git.kingecg.top/kingecg/godaemon from v1.0.4 to v1.0.6
- Upgrade git.kingecg.top/kingecg/gologger from v1.0.11 to v1.0.12
- Replace NewGoDaemon with NewGoDaemonWithLogger to add logger support
- Remove trailing newline in stop function for consistency
```
Co-authored-by: Copilot <copilot@github.com>
2026-07-11 11:17:54 +08:00
程广
7e50732f09
```
...
chore(deps): 更新 gologger 依赖版本
升级 git.kingecg.top/kingecg/gologger 从 v1.0.10 到 v1.0.11,
同时更新 go.sum 中对应的校验和信息。
```
2026-07-10 07:48:09 +08:00
kingecg
8e5389a8e0
build: 更新 Go 依赖
...
- 更新 git.kingecg.top/kingecg/cmux 从 v0.0.0 到 v1.0.1
- 更新 git.kingecg.top/kingecg/godaemon 从 v0.0.0 到 v1.0.4
- 更新 git.kingecg.top/kingecg/gologger 从 v1.0.1 到 v1.0.10
- 更新 github.com/samber/lo 从 v1.39.0 到 v1.51.0
- 更新 github.com/golang-jwt/jwt/v5 从 v5.2.1 到 v5.2.2
- 更新 github.com/gin-gonic/gin 从 v1.10.1 到 v1.10.1
- 更新 github.com/gabriel-vasile/mimetype 从 v1.4.9 到 v1.4.3
- 更新 github.com/gin-contrib/sse 从 v1.1.0 到 v0.1.0
- 更新 github.com/go-playground/validator/v10 从 v10.26.0 到 v10.20.0
- 更新 github.com/goccy/go-json 从 v0.10.5 到 v0.10.2
- 更新 github.com/klauspost/cpuid/v2 从 v2.2.10 到 v2.2.7
- 更新 github.com/pelletier/go-toml/v2 从 v2.2.4 到 v2.2.2
- 更新 github.com/ugorji/go/codec 从 v1.2.14 到 v1.2.12
- 更新 golang.org/x/arch 从 v0.18.0 到 v0.8.0
- 更新 golang.org/x/net 从 v0.41.0 到 v0.25.0
- 更新 google.golang.org/protobuf 从 v1.36.6 到 v1.34.1
- 更新 gopkg.in/yaml.v2 从 v2.4.0 到 v3.0.1
- 移除 github.com/bytedance/sonic v1.13.3
- 移除 github.com/cloudwego/base64x v0.1.5
- 移除 github.com/golang/protobuf v1.5.2
- 移除 github.com/goccy/go-json v0.10.5
- 移除 github.com/klauspost/cpuid/v2 v2.2.10
- 移除 github.com/pelletier/go-toml/v2 v2.2.4
- 移除 github.com/ugorji/go/codec v1.2.14
- 移除 golang.org/x/arch v0.18.0
- 移除 golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17
- 移除 golang.org/x/net v0.41.0
- 移除 google.golang.org/protobuf v1.36.6
- 移除 gopkg.in/yaml.v2 v2.4.0
- 新增 github.com/bytedance/sonic v1.11.6
- 新增 github.com/cloudwego/base64x v0.1.4
- 新增 github.com/goccy/go-json v0.10.2
- 新增 github.com/klauspost/cpuid/v2 v2.2.7
- 新增 github.com/pelletier/go-toml/v2 v2.2.2
- 新增 github.com/ugorji/go/codec v1.2.12
- 新增 golang.org/x/arch v0.8.0
- 新增 golang.org/x/net v0.25.0
- 新增 google.golang.org/protobuf v1.34.1
- 新增 gopkg.in/yaml.v3 v3.0.1
2025-06-26 01:36:55 +08:00
kingecg
da05fe2b3d
chore: update module path to git.kingecg.top
2025-06-26 01:05:19 +08:00
kingecg
de1bbbfb7b
chore: update module path to git.kingecg.top
2025-06-25 23:54:32 +08:00
kingecg
c290c98bae
chore: update module path to git.kingecg.top
2025-06-25 22:53:18 +08:00
kingecg
b92ca64cf8
refactor(admin): 重构管理模块 API
...
- 引入 Gin 框架替换原有的服务器 Mux
- 重写 API 路由处理函数,适应 Gin 框架
- 添加 JWT 认证和基本认证的中间件
- 优化登录逻辑,支持 JWT 令牌生成和验证
- 更新相关依赖库版本
2025-06-14 15:16:48 +08:00
程广
6c43f6ce59
feat(server): 添加自动 SSL 证书管理功能
...
- 新增 autossl 包,用于管理 SSL 证书
- 在 server/manager.go 中集成自动 SSL 证书管理
- 修改 utils/util.go,增加 NormalizePathWithR 函数以支持相对路径规范化
- 更新 model/model.go,为 HttpServerConfig 添加 EnableSSL 字段和 ConfPath 字段
- 修改 gohttp.go,支持从配置文件加载服务器配置
2025-06-13 17:49:04 +08:00
程广
baad798498
build(Makefile): 更新构建架构并调整 go sum 文件
...
- 更新构建架构,支持 Linux、Darwin 系统的 amd64 和 arm64 架构
- 调整 Makefile 中的架构定义和构建命令
- 更新 go sum 文件,移除不必要的依赖版本
2025-06-13 15:04:41 +08:00
kingecg
caa6967f83
fix
2025-06-04 00:02:04 +08:00
kingecg
822f0716a6
update reef
2025-05-30 21:35:19 +08:00
kingecg
f57bd4d937
fix login
2025-02-21 00:50:06 +08:00
kingecg
5d487d1af9
fix wrapp handler and add login api and jwt
2025-02-19 21:52:33 +08:00
程广
84fc6bf873
add gzip
2023-12-21 18:36:51 +08:00
kingecg
703a7e12ee
add daemon
2023-12-10 19:26:09 +08:00
kingecg
49ccc86721
fix file handler and update logger
2023-12-10 01:08:39 +08:00
kingecg
57225ac59a
add multplex server
2023-12-07 23:34:34 +08:00
kingecg
7127751a75
complete RestMux
2023-12-07 22:42:27 +08:00
kingecg
8107b7d567
add
2023-12-07 00:22:53 +08:00