pb package name add OpenIMServer

This commit is contained in:
withchao
2023-03-08 16:10:43 +08:00
parent ff6a503f53
commit 5813d13fe4
22 changed files with 1631 additions and 1614 deletions
+35 -34
View File
@@ -36,7 +36,7 @@ func (m *PushMsgReq) Reset() { *m = PushMsgReq{} }
func (m *PushMsgReq) String() string { return proto.CompactTextString(m) }
func (*PushMsgReq) ProtoMessage() {}
func (*PushMsgReq) Descriptor() ([]byte, []int) {
return fileDescriptor_push_8111188de42e41d8, []int{0}
return fileDescriptor_push_81fcc0e39a4f87ed, []int{0}
}
func (m *PushMsgReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PushMsgReq.Unmarshal(m, b)
@@ -80,7 +80,7 @@ func (m *PushMsgResp) Reset() { *m = PushMsgResp{} }
func (m *PushMsgResp) String() string { return proto.CompactTextString(m) }
func (*PushMsgResp) ProtoMessage() {}
func (*PushMsgResp) Descriptor() ([]byte, []int) {
return fileDescriptor_push_8111188de42e41d8, []int{1}
return fileDescriptor_push_81fcc0e39a4f87ed, []int{1}
}
func (m *PushMsgResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PushMsgResp.Unmarshal(m, b)
@@ -112,7 +112,7 @@ func (m *DelUserPushTokenReq) Reset() { *m = DelUserPushTokenReq{} }
func (m *DelUserPushTokenReq) String() string { return proto.CompactTextString(m) }
func (*DelUserPushTokenReq) ProtoMessage() {}
func (*DelUserPushTokenReq) Descriptor() ([]byte, []int) {
return fileDescriptor_push_8111188de42e41d8, []int{2}
return fileDescriptor_push_81fcc0e39a4f87ed, []int{2}
}
func (m *DelUserPushTokenReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DelUserPushTokenReq.Unmarshal(m, b)
@@ -156,7 +156,7 @@ func (m *DelUserPushTokenResp) Reset() { *m = DelUserPushTokenResp{} }
func (m *DelUserPushTokenResp) String() string { return proto.CompactTextString(m) }
func (*DelUserPushTokenResp) ProtoMessage() {}
func (*DelUserPushTokenResp) Descriptor() ([]byte, []int) {
return fileDescriptor_push_8111188de42e41d8, []int{3}
return fileDescriptor_push_81fcc0e39a4f87ed, []int{3}
}
func (m *DelUserPushTokenResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DelUserPushTokenResp.Unmarshal(m, b)
@@ -177,10 +177,10 @@ func (m *DelUserPushTokenResp) XXX_DiscardUnknown() {
var xxx_messageInfo_DelUserPushTokenResp proto.InternalMessageInfo
func init() {
proto.RegisterType((*PushMsgReq)(nil), "push.PushMsgReq")
proto.RegisterType((*PushMsgResp)(nil), "push.PushMsgResp")
proto.RegisterType((*DelUserPushTokenReq)(nil), "push.DelUserPushTokenReq")
proto.RegisterType((*DelUserPushTokenResp)(nil), "push.DelUserPushTokenResp")
proto.RegisterType((*PushMsgReq)(nil), "OpenIMServer.push.PushMsgReq")
proto.RegisterType((*PushMsgResp)(nil), "OpenIMServer.push.PushMsgResp")
proto.RegisterType((*DelUserPushTokenReq)(nil), "OpenIMServer.push.DelUserPushTokenReq")
proto.RegisterType((*DelUserPushTokenResp)(nil), "OpenIMServer.push.DelUserPushTokenResp")
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -208,7 +208,7 @@ func NewPushMsgServiceClient(cc *grpc.ClientConn) PushMsgServiceClient {
func (c *pushMsgServiceClient) PushMsg(ctx context.Context, in *PushMsgReq, opts ...grpc.CallOption) (*PushMsgResp, error) {
out := new(PushMsgResp)
err := grpc.Invoke(ctx, "/push.PushMsgService/PushMsg", in, out, c.cc, opts...)
err := grpc.Invoke(ctx, "/OpenIMServer.push.PushMsgService/PushMsg", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
@@ -217,7 +217,7 @@ func (c *pushMsgServiceClient) PushMsg(ctx context.Context, in *PushMsgReq, opts
func (c *pushMsgServiceClient) DelUserPushToken(ctx context.Context, in *DelUserPushTokenReq, opts ...grpc.CallOption) (*DelUserPushTokenResp, error) {
out := new(DelUserPushTokenResp)
err := grpc.Invoke(ctx, "/push.PushMsgService/DelUserPushToken", in, out, c.cc, opts...)
err := grpc.Invoke(ctx, "/OpenIMServer.push.PushMsgService/DelUserPushToken", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
@@ -245,7 +245,7 @@ func _PushMsgService_PushMsg_Handler(srv interface{}, ctx context.Context, dec f
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/push.PushMsgService/PushMsg",
FullMethod: "/OpenIMServer.push.PushMsgService/PushMsg",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(PushMsgServiceServer).PushMsg(ctx, req.(*PushMsgReq))
@@ -263,7 +263,7 @@ func _PushMsgService_DelUserPushToken_Handler(srv interface{}, ctx context.Conte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/push.PushMsgService/DelUserPushToken",
FullMethod: "/OpenIMServer.push.PushMsgService/DelUserPushToken",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(PushMsgServiceServer).DelUserPushToken(ctx, req.(*DelUserPushTokenReq))
@@ -272,7 +272,7 @@ func _PushMsgService_DelUserPushToken_Handler(srv interface{}, ctx context.Conte
}
var _PushMsgService_serviceDesc = grpc.ServiceDesc{
ServiceName: "push.PushMsgService",
ServiceName: "OpenIMServer.push.PushMsgService",
HandlerType: (*PushMsgServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
@@ -288,26 +288,27 @@ var _PushMsgService_serviceDesc = grpc.ServiceDesc{
Metadata: "push/push.proto",
}
func init() { proto.RegisterFile("push/push.proto", fileDescriptor_push_8111188de42e41d8) }
func init() { proto.RegisterFile("push/push.proto", fileDescriptor_push_81fcc0e39a4f87ed) }
var fileDescriptor_push_8111188de42e41d8 = []byte{
// 278 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x41, 0x4f, 0xfa, 0x40,
0x10, 0xc5, 0xd3, 0x7f, 0xfe, 0x82, 0x0c, 0x11, 0x71, 0x35, 0x04, 0x1b, 0x43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 0x4b, 0xbf, 0xce, 0x51, 0x44, 0xd0, 0x6e, 0x88, 0xe8, 0x47, 0xee, 0x46,
0xdf, 0x5d, 0xfd, 0x93, 0x3d, 0xc2, 0x24, 0x52, 0xe8, 0xef, 0x5b, 0x8b, 0xf3, 0x5a, 0xf6, 0x4b,
0x03, 0xdf, 0xff, 0x6b, 0xc5, 0x74, 0x33, 0x7a, 0xba, 0xb0, 0x4f, 0x90, 0xca, 0x9d, 0xd3, 0x5b,
0xf5, 0x35, 0xcd, 0xac, 0x70, 0xd6, 0x72, 0xe8, 0xea, 0x33, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x9e,
0x84, 0x31, 0xc0, 0x01, 0x00, 0x00,
var fileDescriptor_push_81fcc0e39a4f87ed = []byte{
// 291 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4f, 0x4b, 0xf3, 0x40,
0x10, 0xc6, 0xc9, 0x0b, 0x6f, 0x6b, 0xa7, 0xf8, 0x6f, 0x95, 0x52, 0xa2, 0x86, 0x92, 0x83, 0xed,
0xa5, 0x1b, 0xa8, 0x78, 0xf2, 0x26, 0x39, 0x98, 0x43, 0x50, 0xa2, 0x5e, 0xbc, 0x48, 0x1a, 0xc7,
0x54, 0xd2, 0x76, 0xc7, 0x9d, 0xc4, 0x7e, 0x3c, 0xbf, 0x9a, 0x6c, 0x12, 0x6b, 0xb5, 0x45, 0xbc,
0x2c, 0xcc, 0x33, 0xbf, 0x79, 0x9e, 0xdd, 0x59, 0xd8, 0xa5, 0x82, 0x27, 0x9e, 0x39, 0x24, 0x69,
0x95, 0x2b, 0xb1, 0x7f, 0x4d, 0x38, 0x0f, 0xc2, 0x5b, 0xd4, 0x6f, 0xa8, 0xa5, 0x69, 0xd8, 0x7d,
0x23, 0x0d, 0x83, 0x70, 0x58, 0x89, 0x1e, 0x65, 0xa9, 0x57, 0xc2, 0x1e, 0x3f,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