delete msg from server

This commit is contained in:
wenxu12345 2022-03-16 10:44:58 +08:00
parent e95644ada2
commit 5f37414fee
3 changed files with 7 additions and 6 deletions

View File

@ -6,7 +6,7 @@ package pbChat // import "./chat"
import proto "github.com/golang/protobuf/proto" import proto "github.com/golang/protobuf/proto"
import fmt "fmt" import fmt "fmt"
import math "math" import math "math"
import sdk_ws "./sdk_ws" import sdk_ws "Open_IM/pkg/proto/sdk_ws"
import ( import (
context "golang.org/x/net/context" context "golang.org/x/net/context"

View File

@ -1,7 +1,9 @@
syntax = "proto3"; syntax = "proto3";
import "Open_IM/pkg/proto/sdk_ws/ws.proto"; import "Open_IM/pkg/proto/sdk_ws/ws.proto";
package pbChat;//The package name to which the proto file belongs option go_package = "./chat;pbChat";
option go_package = "./chat;pbChat";//The generated go pb file is in the current directory, and the package name is pbChat package pbChat;
message MsgDataToMQ{ message MsgDataToMQ{
string token =1; string token =1;
@ -76,5 +78,5 @@ service Chat {
rpc GetMaxAndMinSeq(GetMaxAndMinSeqReq) returns(GetMaxAndMinSeqResp); rpc GetMaxAndMinSeq(GetMaxAndMinSeqReq) returns(GetMaxAndMinSeqResp);
rpc PullMessageBySeqList(server_api_params.PullMessageBySeqListReq) returns(server_api_params.PullMessageBySeqListResp); rpc PullMessageBySeqList(server_api_params.PullMessageBySeqListReq) returns(server_api_params.PullMessageBySeqListResp);
rpc SendMsg(SendMsgReq) returns(SendMsgResp); rpc SendMsg(SendMsgReq) returns(SendMsgResp);
rpc DelMsgList(server_api_params.DelMsgListReq) returns(server_api_params.DelMsgListResp); // rpc DelMsgList(server_api_params.DelMsgListReq) returns(server_api_params.DelMsgListResp);
} }

View File

@ -1,7 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./sdk_ws;server_api_params"; option go_package = "./sdk_ws;server_api_params";
package server_api_params;//The package name to which the proto file belongs package server_api_params;
//option go_package = "./sdk_ws;open_im_sdk";//The generated go pb file is in the current directory, and the package name is open_im_sdk
////////////////////////////////base/////////////////////////////// ////////////////////////////////base///////////////////////////////