commit code

This commit is contained in:
2025-05-31 21:44:34 +08:00
parent bfca5d7d0b
commit ca373ad91f
19 changed files with 496 additions and 126 deletions

View File

@ -1,5 +1,12 @@
Name: gallery.rpc
ListenOn: 0.0.0.0:50000
DB:
DataSource: postgres://postgres:postgres@localhost:19732/godemo?sslmode=disable
MaxOpenConns: 100
MaxIdleConns: 20
ConnMaxLifetime: 3600
Etcd:
Hosts:
- 127.0.0.1:2379
@ -9,4 +16,10 @@ FileRpc:
Etcd:
Hosts:
- 127.0.0.1:2379
Key: file.rpc
Key: file.rpc
CategoryRpc:
Etcd:
Hosts:
- 127.0.0.1:2379
Key: category.rpc