Documentation ¶
Index ¶
- Variables
- func RegisterOnlineMessageRelayServiceServer(s grpc.ServiceRegistrar, srv OnlineMessageRelayServiceServer)
- type GetUsersOnlineStatusReq
- func (*GetUsersOnlineStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersOnlineStatusReq) GetOpUserID() string
- func (x *GetUsersOnlineStatusReq) GetOperationID() string
- func (x *GetUsersOnlineStatusReq) GetUserIDList() []string
- func (*GetUsersOnlineStatusReq) ProtoMessage()
- func (x *GetUsersOnlineStatusReq) ProtoReflect() protoreflect.Message
- func (x *GetUsersOnlineStatusReq) Reset()
- func (x *GetUsersOnlineStatusReq) String() string
- type GetUsersOnlineStatusResp
- func (*GetUsersOnlineStatusResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersOnlineStatusResp) GetErrCode() int32
- func (x *GetUsersOnlineStatusResp) GetErrMsg() string
- func (x *GetUsersOnlineStatusResp) GetFailedResult() []*GetUsersOnlineStatusResp_FailedDetail
- func (x *GetUsersOnlineStatusResp) GetSuccessResult() []*GetUsersOnlineStatusResp_SuccessResult
- func (*GetUsersOnlineStatusResp) ProtoMessage()
- func (x *GetUsersOnlineStatusResp) ProtoReflect() protoreflect.Message
- func (x *GetUsersOnlineStatusResp) Reset()
- func (x *GetUsersOnlineStatusResp) String() string
- type GetUsersOnlineStatusResp_FailedDetail
- func (*GetUsersOnlineStatusResp_FailedDetail) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersOnlineStatusResp_FailedDetail) GetErrCode() int32
- func (x *GetUsersOnlineStatusResp_FailedDetail) GetErrMsg() string
- func (x *GetUsersOnlineStatusResp_FailedDetail) GetUserID() string
- func (*GetUsersOnlineStatusResp_FailedDetail) ProtoMessage()
- func (x *GetUsersOnlineStatusResp_FailedDetail) ProtoReflect() protoreflect.Message
- func (x *GetUsersOnlineStatusResp_FailedDetail) Reset()
- func (x *GetUsersOnlineStatusResp_FailedDetail) String() string
- type GetUsersOnlineStatusResp_SuccessDetail
- func (*GetUsersOnlineStatusResp_SuccessDetail) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersOnlineStatusResp_SuccessDetail) GetPlatform() string
- func (x *GetUsersOnlineStatusResp_SuccessDetail) GetStatus() string
- func (*GetUsersOnlineStatusResp_SuccessDetail) ProtoMessage()
- func (x *GetUsersOnlineStatusResp_SuccessDetail) ProtoReflect() protoreflect.Message
- func (x *GetUsersOnlineStatusResp_SuccessDetail) Reset()
- func (x *GetUsersOnlineStatusResp_SuccessDetail) String() string
- type GetUsersOnlineStatusResp_SuccessResult
- func (*GetUsersOnlineStatusResp_SuccessResult) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersOnlineStatusResp_SuccessResult) GetDetailPlatformStatus() []*GetUsersOnlineStatusResp_SuccessDetail
- func (x *GetUsersOnlineStatusResp_SuccessResult) GetStatus() string
- func (x *GetUsersOnlineStatusResp_SuccessResult) GetUserID() string
- func (*GetUsersOnlineStatusResp_SuccessResult) ProtoMessage()
- func (x *GetUsersOnlineStatusResp_SuccessResult) ProtoReflect() protoreflect.Message
- func (x *GetUsersOnlineStatusResp_SuccessResult) Reset()
- func (x *GetUsersOnlineStatusResp_SuccessResult) String() string
- type KickUserConnsReq
- func (*KickUserConnsReq) Descriptor() ([]byte, []int)deprecated
- func (x *KickUserConnsReq) GetPlatformIDs() []string
- func (x *KickUserConnsReq) GetUserID() string
- func (*KickUserConnsReq) ProtoMessage()
- func (x *KickUserConnsReq) ProtoReflect() protoreflect.Message
- func (x *KickUserConnsReq) Reset()
- func (x *KickUserConnsReq) String() string
- type KickUserConnsResp
- func (*KickUserConnsResp) Descriptor() ([]byte, []int)deprecated
- func (x *KickUserConnsResp) GetErrCode() int32
- func (x *KickUserConnsResp) GetErrMsg() string
- func (*KickUserConnsResp) ProtoMessage()
- func (x *KickUserConnsResp) ProtoReflect() protoreflect.Message
- func (x *KickUserConnsResp) Reset()
- func (x *KickUserConnsResp) String() string
- type OnlineMessageRelayServiceClient
- type OnlineMessageRelayServiceServer
- type OnlinePushMsgReq
- func (*OnlinePushMsgReq) Descriptor() ([]byte, []int)deprecated
- func (x *OnlinePushMsgReq) GetMsgData() *pb.MsgData
- func (x *OnlinePushMsgReq) GetPushToUserID() string
- func (*OnlinePushMsgReq) ProtoMessage()
- func (x *OnlinePushMsgReq) ProtoReflect() protoreflect.Message
- func (x *OnlinePushMsgReq) Reset()
- func (x *OnlinePushMsgReq) String() string
- type OnlinePushMsgResp
- func (*OnlinePushMsgResp) Descriptor() ([]byte, []int)deprecated
- func (x *OnlinePushMsgResp) GetResp() []*SingleMsgToUser
- func (*OnlinePushMsgResp) ProtoMessage()
- func (x *OnlinePushMsgResp) ProtoReflect() protoreflect.Message
- func (x *OnlinePushMsgResp) Reset()
- func (x *OnlinePushMsgResp) String() string
- type Req
- func (*Req) Descriptor() ([]byte, []int)deprecated
- func (x *Req) GetData() []byte
- func (x *Req) GetReqIdentifier() uint32
- func (x *Req) GetSendID() string
- func (x *Req) GetToken() string
- func (*Req) ProtoMessage()
- func (x *Req) ProtoReflect() protoreflect.Message
- func (x *Req) Reset()
- func (x *Req) String() string
- type Resp
- func (*Resp) Descriptor() ([]byte, []int)deprecated
- func (x *Resp) GetData() []byte
- func (x *Resp) GetErrCode() uint32
- func (x *Resp) GetErrMsg() string
- func (x *Resp) GetReqIdentifier() uint32
- func (*Resp) ProtoMessage()
- func (x *Resp) ProtoReflect() protoreflect.Message
- func (x *Resp) Reset()
- func (x *Resp) String() string
- type SingleMsgToUser
- func (*SingleMsgToUser) Descriptor() ([]byte, []int)deprecated
- func (x *SingleMsgToUser) GetRecvID() string
- func (x *SingleMsgToUser) GetRecvPlatFormID() int32
- func (x *SingleMsgToUser) GetResultCode() int64
- func (*SingleMsgToUser) ProtoMessage()
- func (x *SingleMsgToUser) ProtoReflect() protoreflect.Message
- func (x *SingleMsgToUser) Reset()
- func (x *SingleMsgToUser) String() string
- type UnimplementedOnlineMessageRelayServiceServer
- func (UnimplementedOnlineMessageRelayServiceServer) GetUsersOnlineStatus(context.Context, *GetUsersOnlineStatusReq) (*GetUsersOnlineStatusResp, error)
- func (UnimplementedOnlineMessageRelayServiceServer) KickUserConns(context.Context, *KickUserConnsReq) (*KickUserConnsResp, error)
- func (UnimplementedOnlineMessageRelayServiceServer) OnlinePushMsg(context.Context, *OnlinePushMsgReq) (*OnlinePushMsgResp, error)
- type UnsafeOnlineMessageRelayServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_msg_gateway_proto protoreflect.FileDescriptor
var File_param_proto protoreflect.FileDescriptor
var OnlineMessageRelayService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "msg_gateway.OnlineMessageRelayService", HandlerType: (*OnlineMessageRelayServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "OnlinePushMsg", Handler: _OnlineMessageRelayService_OnlinePushMsg_Handler, }, { MethodName: "GetUsersOnlineStatus", Handler: _OnlineMessageRelayService_GetUsersOnlineStatus_Handler, }, { MethodName: "KickUserConns", Handler: _OnlineMessageRelayService_KickUserConns_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "msg-gateway.proto", }
OnlineMessageRelayService_ServiceDesc is the grpc.ServiceDesc for OnlineMessageRelayService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOnlineMessageRelayServiceServer ¶
func RegisterOnlineMessageRelayServiceServer(s grpc.ServiceRegistrar, srv OnlineMessageRelayServiceServer)
Types ¶
type GetUsersOnlineStatusReq ¶
type GetUsersOnlineStatusReq struct { UserIDList []string `protobuf:"bytes,1,rep,name=userIDList,proto3" json:"userIDList,omitempty"` OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` // contains filtered or unexported fields }
func (*GetUsersOnlineStatusReq) Descriptor
deprecated
func (*GetUsersOnlineStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersOnlineStatusReq.ProtoReflect.Descriptor instead.
func (*GetUsersOnlineStatusReq) GetOpUserID ¶
func (x *GetUsersOnlineStatusReq) GetOpUserID() string
func (*GetUsersOnlineStatusReq) GetOperationID ¶
func (x *GetUsersOnlineStatusReq) GetOperationID() string
func (*GetUsersOnlineStatusReq) GetUserIDList ¶
func (x *GetUsersOnlineStatusReq) GetUserIDList() []string
func (*GetUsersOnlineStatusReq) ProtoMessage ¶
func (*GetUsersOnlineStatusReq) ProtoMessage()
func (*GetUsersOnlineStatusReq) ProtoReflect ¶
func (x *GetUsersOnlineStatusReq) ProtoReflect() protoreflect.Message
func (*GetUsersOnlineStatusReq) Reset ¶
func (x *GetUsersOnlineStatusReq) Reset()
func (*GetUsersOnlineStatusReq) String ¶
func (x *GetUsersOnlineStatusReq) String() string
type GetUsersOnlineStatusResp ¶
type GetUsersOnlineStatusResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` SuccessResult []*GetUsersOnlineStatusResp_SuccessResult `protobuf:"bytes,3,rep,name=successResult,proto3" json:"successResult,omitempty"` FailedResult []*GetUsersOnlineStatusResp_FailedDetail `protobuf:"bytes,4,rep,name=failedResult,proto3" json:"failedResult,omitempty"` // contains filtered or unexported fields }
func (*GetUsersOnlineStatusResp) Descriptor
deprecated
func (*GetUsersOnlineStatusResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersOnlineStatusResp.ProtoReflect.Descriptor instead.
func (*GetUsersOnlineStatusResp) GetErrCode ¶
func (x *GetUsersOnlineStatusResp) GetErrCode() int32
func (*GetUsersOnlineStatusResp) GetErrMsg ¶
func (x *GetUsersOnlineStatusResp) GetErrMsg() string
func (*GetUsersOnlineStatusResp) GetFailedResult ¶
func (x *GetUsersOnlineStatusResp) GetFailedResult() []*GetUsersOnlineStatusResp_FailedDetail
func (*GetUsersOnlineStatusResp) GetSuccessResult ¶
func (x *GetUsersOnlineStatusResp) GetSuccessResult() []*GetUsersOnlineStatusResp_SuccessResult
func (*GetUsersOnlineStatusResp) ProtoMessage ¶
func (*GetUsersOnlineStatusResp) ProtoMessage()
func (*GetUsersOnlineStatusResp) ProtoReflect ¶
func (x *GetUsersOnlineStatusResp) ProtoReflect() protoreflect.Message
func (*GetUsersOnlineStatusResp) Reset ¶
func (x *GetUsersOnlineStatusResp) Reset()
func (*GetUsersOnlineStatusResp) String ¶
func (x *GetUsersOnlineStatusResp) String() string
type GetUsersOnlineStatusResp_FailedDetail ¶
type GetUsersOnlineStatusResp_FailedDetail struct { UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"` ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*GetUsersOnlineStatusResp_FailedDetail) Descriptor
deprecated
func (*GetUsersOnlineStatusResp_FailedDetail) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersOnlineStatusResp_FailedDetail.ProtoReflect.Descriptor instead.
func (*GetUsersOnlineStatusResp_FailedDetail) GetErrCode ¶
func (x *GetUsersOnlineStatusResp_FailedDetail) GetErrCode() int32
func (*GetUsersOnlineStatusResp_FailedDetail) GetErrMsg ¶
func (x *GetUsersOnlineStatusResp_FailedDetail) GetErrMsg() string
func (*GetUsersOnlineStatusResp_FailedDetail) GetUserID ¶
func (x *GetUsersOnlineStatusResp_FailedDetail) GetUserID() string
func (*GetUsersOnlineStatusResp_FailedDetail) ProtoMessage ¶
func (*GetUsersOnlineStatusResp_FailedDetail) ProtoMessage()
func (*GetUsersOnlineStatusResp_FailedDetail) ProtoReflect ¶
func (x *GetUsersOnlineStatusResp_FailedDetail) ProtoReflect() protoreflect.Message
func (*GetUsersOnlineStatusResp_FailedDetail) Reset ¶
func (x *GetUsersOnlineStatusResp_FailedDetail) Reset()
func (*GetUsersOnlineStatusResp_FailedDetail) String ¶
func (x *GetUsersOnlineStatusResp_FailedDetail) String() string
type GetUsersOnlineStatusResp_SuccessDetail ¶
type GetUsersOnlineStatusResp_SuccessDetail struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*GetUsersOnlineStatusResp_SuccessDetail) Descriptor
deprecated
func (*GetUsersOnlineStatusResp_SuccessDetail) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersOnlineStatusResp_SuccessDetail.ProtoReflect.Descriptor instead.
func (*GetUsersOnlineStatusResp_SuccessDetail) GetPlatform ¶
func (x *GetUsersOnlineStatusResp_SuccessDetail) GetPlatform() string
func (*GetUsersOnlineStatusResp_SuccessDetail) GetStatus ¶
func (x *GetUsersOnlineStatusResp_SuccessDetail) GetStatus() string
func (*GetUsersOnlineStatusResp_SuccessDetail) ProtoMessage ¶
func (*GetUsersOnlineStatusResp_SuccessDetail) ProtoMessage()
func (*GetUsersOnlineStatusResp_SuccessDetail) ProtoReflect ¶
func (x *GetUsersOnlineStatusResp_SuccessDetail) ProtoReflect() protoreflect.Message
func (*GetUsersOnlineStatusResp_SuccessDetail) Reset ¶
func (x *GetUsersOnlineStatusResp_SuccessDetail) Reset()
func (*GetUsersOnlineStatusResp_SuccessDetail) String ¶
func (x *GetUsersOnlineStatusResp_SuccessDetail) String() string
type GetUsersOnlineStatusResp_SuccessResult ¶
type GetUsersOnlineStatusResp_SuccessResult struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` DetailPlatformStatus []*GetUsersOnlineStatusResp_SuccessDetail `protobuf:"bytes,3,rep,name=detailPlatformStatus,proto3" json:"detailPlatformStatus,omitempty"` // contains filtered or unexported fields }
func (*GetUsersOnlineStatusResp_SuccessResult) Descriptor
deprecated
func (*GetUsersOnlineStatusResp_SuccessResult) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersOnlineStatusResp_SuccessResult.ProtoReflect.Descriptor instead.
func (*GetUsersOnlineStatusResp_SuccessResult) GetDetailPlatformStatus ¶
func (x *GetUsersOnlineStatusResp_SuccessResult) GetDetailPlatformStatus() []*GetUsersOnlineStatusResp_SuccessDetail
func (*GetUsersOnlineStatusResp_SuccessResult) GetStatus ¶
func (x *GetUsersOnlineStatusResp_SuccessResult) GetStatus() string
func (*GetUsersOnlineStatusResp_SuccessResult) GetUserID ¶
func (x *GetUsersOnlineStatusResp_SuccessResult) GetUserID() string
func (*GetUsersOnlineStatusResp_SuccessResult) ProtoMessage ¶
func (*GetUsersOnlineStatusResp_SuccessResult) ProtoMessage()
func (*GetUsersOnlineStatusResp_SuccessResult) ProtoReflect ¶
func (x *GetUsersOnlineStatusResp_SuccessResult) ProtoReflect() protoreflect.Message
func (*GetUsersOnlineStatusResp_SuccessResult) Reset ¶
func (x *GetUsersOnlineStatusResp_SuccessResult) Reset()
func (*GetUsersOnlineStatusResp_SuccessResult) String ¶
func (x *GetUsersOnlineStatusResp_SuccessResult) String() string
type KickUserConnsReq ¶
type KickUserConnsReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` PlatformIDs []string `protobuf:"bytes,2,rep,name=platformIDs,proto3" json:"platformIDs,omitempty"` // contains filtered or unexported fields }
func (*KickUserConnsReq) Descriptor
deprecated
func (*KickUserConnsReq) Descriptor() ([]byte, []int)
Deprecated: Use KickUserConnsReq.ProtoReflect.Descriptor instead.
func (*KickUserConnsReq) GetPlatformIDs ¶
func (x *KickUserConnsReq) GetPlatformIDs() []string
func (*KickUserConnsReq) GetUserID ¶
func (x *KickUserConnsReq) GetUserID() string
func (*KickUserConnsReq) ProtoMessage ¶
func (*KickUserConnsReq) ProtoMessage()
func (*KickUserConnsReq) ProtoReflect ¶
func (x *KickUserConnsReq) ProtoReflect() protoreflect.Message
func (*KickUserConnsReq) Reset ¶
func (x *KickUserConnsReq) Reset()
func (*KickUserConnsReq) String ¶
func (x *KickUserConnsReq) String() string
type KickUserConnsResp ¶
type KickUserConnsResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*KickUserConnsResp) Descriptor
deprecated
func (*KickUserConnsResp) Descriptor() ([]byte, []int)
Deprecated: Use KickUserConnsResp.ProtoReflect.Descriptor instead.
func (*KickUserConnsResp) GetErrCode ¶
func (x *KickUserConnsResp) GetErrCode() int32
func (*KickUserConnsResp) GetErrMsg ¶
func (x *KickUserConnsResp) GetErrMsg() string
func (*KickUserConnsResp) ProtoMessage ¶
func (*KickUserConnsResp) ProtoMessage()
func (*KickUserConnsResp) ProtoReflect ¶
func (x *KickUserConnsResp) ProtoReflect() protoreflect.Message
func (*KickUserConnsResp) Reset ¶
func (x *KickUserConnsResp) Reset()
func (*KickUserConnsResp) String ¶
func (x *KickUserConnsResp) String() string
type OnlineMessageRelayServiceClient ¶
type OnlineMessageRelayServiceClient interface { OnlinePushMsg(ctx context.Context, in *OnlinePushMsgReq, opts ...grpc.CallOption) (*OnlinePushMsgResp, error) GetUsersOnlineStatus(ctx context.Context, in *GetUsersOnlineStatusReq, opts ...grpc.CallOption) (*GetUsersOnlineStatusResp, error) KickUserConns(ctx context.Context, in *KickUserConnsReq, opts ...grpc.CallOption) (*KickUserConnsResp, error) }
OnlineMessageRelayServiceClient is the client API for OnlineMessageRelayService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOnlineMessageRelayServiceClient ¶
func NewOnlineMessageRelayServiceClient(cc grpc.ClientConnInterface) OnlineMessageRelayServiceClient
type OnlineMessageRelayServiceServer ¶
type OnlineMessageRelayServiceServer interface { OnlinePushMsg(context.Context, *OnlinePushMsgReq) (*OnlinePushMsgResp, error) GetUsersOnlineStatus(context.Context, *GetUsersOnlineStatusReq) (*GetUsersOnlineStatusResp, error) KickUserConns(context.Context, *KickUserConnsReq) (*KickUserConnsResp, error) // contains filtered or unexported methods }
OnlineMessageRelayServiceServer is the server API for OnlineMessageRelayService service. All implementations must embed UnimplementedOnlineMessageRelayServiceServer for forward compatibility
type OnlinePushMsgReq ¶
type OnlinePushMsgReq struct { MsgData *pb.MsgData `protobuf:"bytes,2,opt,name=msgData,proto3" json:"msgData,omitempty"` PushToUserID string `protobuf:"bytes,3,opt,name=pushToUserID,proto3" json:"pushToUserID,omitempty"` // contains filtered or unexported fields }
func (*OnlinePushMsgReq) Descriptor
deprecated
func (*OnlinePushMsgReq) Descriptor() ([]byte, []int)
Deprecated: Use OnlinePushMsgReq.ProtoReflect.Descriptor instead.
func (*OnlinePushMsgReq) GetMsgData ¶
func (x *OnlinePushMsgReq) GetMsgData() *pb.MsgData
func (*OnlinePushMsgReq) GetPushToUserID ¶
func (x *OnlinePushMsgReq) GetPushToUserID() string
func (*OnlinePushMsgReq) ProtoMessage ¶
func (*OnlinePushMsgReq) ProtoMessage()
func (*OnlinePushMsgReq) ProtoReflect ¶
func (x *OnlinePushMsgReq) ProtoReflect() protoreflect.Message
func (*OnlinePushMsgReq) Reset ¶
func (x *OnlinePushMsgReq) Reset()
func (*OnlinePushMsgReq) String ¶
func (x *OnlinePushMsgReq) String() string
type OnlinePushMsgResp ¶
type OnlinePushMsgResp struct { Resp []*SingleMsgToUser `protobuf:"bytes,1,rep,name=resp,proto3" json:"resp,omitempty"` // contains filtered or unexported fields }
func (*OnlinePushMsgResp) Descriptor
deprecated
func (*OnlinePushMsgResp) Descriptor() ([]byte, []int)
Deprecated: Use OnlinePushMsgResp.ProtoReflect.Descriptor instead.
func (*OnlinePushMsgResp) GetResp ¶
func (x *OnlinePushMsgResp) GetResp() []*SingleMsgToUser
func (*OnlinePushMsgResp) ProtoMessage ¶
func (*OnlinePushMsgResp) ProtoMessage()
func (*OnlinePushMsgResp) ProtoReflect ¶
func (x *OnlinePushMsgResp) ProtoReflect() protoreflect.Message
func (*OnlinePushMsgResp) Reset ¶
func (x *OnlinePushMsgResp) Reset()
func (*OnlinePushMsgResp) String ¶
func (x *OnlinePushMsgResp) String() string
type Req ¶
type Req struct { ReqIdentifier uint32 `protobuf:"varint,1,opt,name=ReqIdentifier,proto3" json:"ReqIdentifier,omitempty"` Token string `protobuf:"bytes,2,opt,name=Token,proto3" json:"Token,omitempty"` SendID string `protobuf:"bytes,3,opt,name=SendID,proto3" json:"SendID,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data,omitempty"` // contains filtered or unexported fields }
func (*Req) Descriptor
deprecated
func (*Req) GetReqIdentifier ¶
func (*Req) ProtoMessage ¶
func (*Req) ProtoMessage()
func (*Req) ProtoReflect ¶
func (x *Req) ProtoReflect() protoreflect.Message
type Resp ¶
type Resp struct { ReqIdentifier uint32 `protobuf:"varint,1,opt,name=ReqIdentifier,proto3" json:"ReqIdentifier,omitempty"` ErrCode uint32 `protobuf:"varint,2,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,3,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data,omitempty"` // contains filtered or unexported fields }
func (*Resp) Descriptor
deprecated
func (*Resp) GetErrCode ¶
func (*Resp) GetReqIdentifier ¶
func (*Resp) ProtoMessage ¶
func (*Resp) ProtoMessage()
func (*Resp) ProtoReflect ¶
func (x *Resp) ProtoReflect() protoreflect.Message
type SingleMsgToUser ¶
type SingleMsgToUser struct { ResultCode int64 `protobuf:"varint,1,opt,name=ResultCode,proto3" json:"ResultCode,omitempty"` RecvID string `protobuf:"bytes,2,opt,name=RecvID,proto3" json:"RecvID,omitempty"` RecvPlatFormID int32 `protobuf:"varint,3,opt,name=RecvPlatFormID,proto3" json:"RecvPlatFormID,omitempty"` // contains filtered or unexported fields }
func (*SingleMsgToUser) Descriptor
deprecated
func (*SingleMsgToUser) Descriptor() ([]byte, []int)
Deprecated: Use SingleMsgToUser.ProtoReflect.Descriptor instead.
func (*SingleMsgToUser) GetRecvID ¶
func (x *SingleMsgToUser) GetRecvID() string
func (*SingleMsgToUser) GetRecvPlatFormID ¶
func (x *SingleMsgToUser) GetRecvPlatFormID() int32
func (*SingleMsgToUser) GetResultCode ¶
func (x *SingleMsgToUser) GetResultCode() int64
func (*SingleMsgToUser) ProtoMessage ¶
func (*SingleMsgToUser) ProtoMessage()
func (*SingleMsgToUser) ProtoReflect ¶
func (x *SingleMsgToUser) ProtoReflect() protoreflect.Message
func (*SingleMsgToUser) Reset ¶
func (x *SingleMsgToUser) Reset()
func (*SingleMsgToUser) String ¶
func (x *SingleMsgToUser) String() string
type UnimplementedOnlineMessageRelayServiceServer ¶
type UnimplementedOnlineMessageRelayServiceServer struct { }
UnimplementedOnlineMessageRelayServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOnlineMessageRelayServiceServer) GetUsersOnlineStatus ¶
func (UnimplementedOnlineMessageRelayServiceServer) GetUsersOnlineStatus(context.Context, *GetUsersOnlineStatusReq) (*GetUsersOnlineStatusResp, error)
func (UnimplementedOnlineMessageRelayServiceServer) KickUserConns ¶
func (UnimplementedOnlineMessageRelayServiceServer) KickUserConns(context.Context, *KickUserConnsReq) (*KickUserConnsResp, error)
func (UnimplementedOnlineMessageRelayServiceServer) OnlinePushMsg ¶
func (UnimplementedOnlineMessageRelayServiceServer) OnlinePushMsg(context.Context, *OnlinePushMsgReq) (*OnlinePushMsgResp, error)
type UnsafeOnlineMessageRelayServiceServer ¶
type UnsafeOnlineMessageRelayServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOnlineMessageRelayServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OnlineMessageRelayServiceServer will result in compilation errors.