修复多账号登录

This commit is contained in:
huangxiaolei
2022-11-28 16:15:07 +08:00
parent 7cdcb3ec09
commit 877f3dc192
15 changed files with 215 additions and 141 deletions

View File

@@ -1,2 +1,3 @@
# third_party
本文件夹为第三方依赖,任何内容都不可修改

View File

@@ -6,8 +6,8 @@ option go_package = "github.com/byebyebruce/natsrpc;natsrpc";
import "google/protobuf/descriptor.proto";
extend google.protobuf.ServiceOptions {
bool serviceAsync = 43230; // service异步handler
bool clientAsync = 43231; // client异步请求
bool serviceAsync = 43230; // service异步handler
bool clientAsync = 43231; // client异步请求
}
extend google.protobuf.MethodOptions {
@@ -20,7 +20,7 @@ message Empty {}
// Request 请求
message Request {
bytes payload = 1; // 包体
map<string,string> header = 2; // 包头
map<string, string> header = 2; // 包头
}
// Reply 返回