feat: server config.

This commit is contained in:
tx7do
2023-10-28 15:50:09 +08:00
parent fe52212ed3
commit cfea51ec49
3 changed files with 52 additions and 42 deletions

View File

@@ -38,7 +38,8 @@ message Server {
string network = 1; // 网络样式http、https
string addr = 2; // 服务监听地址
string path = 3; // 路径
google.protobuf.Duration timeout = 4; // 超时时间
string codec = 4; // 编解码器: json,xml,yaml...
google.protobuf.Duration timeout = 5; // 超时时间
}
// MQTT