This commit is contained in:
Gordon
2021-10-22 20:02:29 +08:00
parent 2e0cb09cdd
commit d88ba3545b
9 changed files with 31 additions and 16 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
syntax = "proto3";
package pbAuth;
option go_package = "auth;pbAuth";
option go_package = "./auth;pbAuth";
message UserRegisterReq {
string UID = 1;
+1 -1
View File
@@ -1,6 +1,6 @@
syntax = "proto3";
package pbChat;//The package name to which the proto file belongs
option go_package = "chat;pbChat";//The generated go pb file is in the current directory, and the package name is pbChat
option go_package = "./chat;pbChat";//The generated go pb file is in the current directory, and the package name is pbChat
message WSToMsgSvrChatMsg{
string SendID = 1;
+1 -1
View File
@@ -1,5 +1,5 @@
syntax = "proto3";
option go_package = "friend;friend";
option go_package = "./friend;friend";
package friend;
message CommonResp{
+1 -1
View File
@@ -1,5 +1,5 @@
syntax = "proto3";
option go_package = "group;group";
option go_package = "./group;group";
package group;
message CommonResp{
+1 -1
View File
@@ -1,5 +1,5 @@
syntax = "proto3";
option go_package = "push;pbPush";
option go_package = "./push;pbPush";
package push;
message PushMsgReq {
+1 -1
View File
@@ -1,5 +1,5 @@
syntax = "proto3";
option go_package = "relay;pbRelay";
option go_package = "./relay;pbRelay";
package relay;
message MsgToUserReq {
+1 -1
View File
@@ -1,5 +1,5 @@
syntax = "proto3";
option go_package = "user;user";
option go_package = "./user;user";
package user;
message CommonResp{