initial commit

This commit is contained in:
2025-05-22 19:39:08 +08:00
commit 531bb42d01
103 changed files with 10291 additions and 0 deletions

13
user/etc/user.yaml Normal file
View File

@ -0,0 +1,13 @@
Name: user.rpc
ListenOn: 0.0.0.0:60100
Mode: dev
Etcd:
Hosts:
- localhost:2379
Key: user.rpc
DataSource: "postgres://postgres:postgres@localhost:5432/godemo?sslmode=disable"
JwtAuth:
AccessSecret: "your-secure-secret"
AccessExpire: 900 # 可选单位秒15分钟