11 Commits

Author SHA1 Message Date
7f02ded1c2
build(auth): 添加 Dockerfile 和 .dockerignore 文件
- 新增 Dockerfile 用于构建和运行认证服务
- 添加 .dockerignore 文件以排除不必要的文件和目录
2025-01-20 23:24:16 +08:00
770687a2f6
feat(auth): 嵌入配置文件到可执行文件
- 使用 go:embed 导入配置文件,避免在运行时读取文件系统中的配置
- 移除了文件读取相关代码,简化了配置加载过程
- 这种方法提高了应用程序的可移植性和安全性
2025-01-20 23:21:21 +08:00
b1152c9ccd
auth: comment out dal.Init() in main function 2025-01-20 23:06:31 +08:00
dependabot[bot]
47b4b916e7
build(deps): bump golang.org/x/net from 0.27.0 to 0.33.0 in /app/auth
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.27.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 12:30:09 +00:00
dependabot[bot]
d58ca9e77c
build(deps): bump golang.org/x/crypto from 0.25.0 to 0.31.0 in /app/auth
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.25.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 12:05:34 +00:00
033579702f
使用 viper 从 consul 读取配置文件 2025-01-20 20:03:45 +08:00
ac288f01ca
import viper 2025-01-20 19:50:00 +08:00
2c74372f38
Merge branch 'main' of https://github.com/suyiiyii/hertz101 2025-01-20 19:49:11 +08:00
a21b42168a
成功 rpc 调用 2025-01-20 19:47:49 +08:00
82480c4611
实现 rpc 调用 2025-01-20 17:08:04 +08:00
bda2501bae
auth service 2025-01-20 16:22:41 +08:00