server: http: addr: 0.0.0.0:8000 timeout: 2 # 单位秒 grpc: addr: 0.0.0.0:9000 timeout: 2 data: 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