Commit 8a2cccea authored by kzkzzzz's avatar kzkzzzz

feat: 补充配置

parent d1a4fdab
......@@ -4,5 +4,4 @@ tmp
bin
temp
*.log
*.yaml
.DS_Store
\ No newline at end of file
Server:
Name: "service.demo"
ConsulServer:
- 192.168.233.1:8500
Grpc:
Addr: "" # 为空随机端口, 使用注册中心服务发现
Http:
Addr: ""
Mysql:
dsn: remote:admin666@tcp(127.0.0.1:3306)/test?loc=Local&charset=utf8mb4&writeTimeout=3s&readTimeout=3s&timeout=1s&parseTime=true
MaxConn: 8
MaxIdleConn: 2
MaxLifetime: 1800 # 连接有效时间,单位秒
Debug: true
Redis:
Addr: 127.0.0.1:6379
Password: ""
DB: 15
Log:
Color: true
Level: DEBUG
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment