Server: Name: "service.wallet" ConsulServer: - 192.168.233.1:8500 Grpc: Addr: "" # 为空随机端口, 使用注册中心服务发现 Http: Addr: "" Client:
Member: "service.member"
Mysql:
Dsn: master:Xt6fW2rNRvYZjtYW@tcp(rm-j6c982j8ih8x3d2yz2o.mysql.rds.aliyuncs.com:3306)/master?loc=Local&charset=utf8mb4&writeTimeout=3s&readTimeout=3s&timeout=2s&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