update notification
This commit is contained in:
parent
8364957f08
commit
adfe8a5fad
|
@ -30,7 +30,7 @@ type OKResp struct {
|
||||||
func (x *OKResp) Reset() {
|
func (x *OKResp) Reset() {
|
||||||
*x = OKResp{}
|
*x = OKResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_generate_protobuf_service_proto_msgTypes[0]
|
mi := &file_generate_protobuf_notification_proto_msgTypes[0]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ func (x *OKResp) String() string {
|
||||||
func (*OKResp) ProtoMessage() {}
|
func (*OKResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *OKResp) ProtoReflect() protoreflect.Message {
|
func (x *OKResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_generate_protobuf_service_proto_msgTypes[0]
|
mi := &file_generate_protobuf_notification_proto_msgTypes[0]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -56,7 +56,7 @@ func (x *OKResp) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use OKResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use OKResp.ProtoReflect.Descriptor instead.
|
||||||
func (*OKResp) Descriptor() ([]byte, []int) {
|
func (*OKResp) Descriptor() ([]byte, []int) {
|
||||||
return file_generate_protobuf_service_proto_rawDescGZIP(), []int{0}
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
// NoneReq
|
// NoneReq
|
||||||
|
@ -69,7 +69,7 @@ type NoneReq struct {
|
||||||
func (x *NoneReq) Reset() {
|
func (x *NoneReq) Reset() {
|
||||||
*x = NoneReq{}
|
*x = NoneReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_generate_protobuf_service_proto_msgTypes[1]
|
mi := &file_generate_protobuf_notification_proto_msgTypes[1]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,7 @@ func (x *NoneReq) String() string {
|
||||||
func (*NoneReq) ProtoMessage() {}
|
func (*NoneReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *NoneReq) ProtoReflect() protoreflect.Message {
|
func (x *NoneReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_generate_protobuf_service_proto_msgTypes[1]
|
mi := &file_generate_protobuf_notification_proto_msgTypes[1]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -95,7 +95,7 @@ func (x *NoneReq) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use NoneReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use NoneReq.ProtoReflect.Descriptor instead.
|
||||||
func (*NoneReq) Descriptor() ([]byte, []int) {
|
func (*NoneReq) Descriptor() ([]byte, []int) {
|
||||||
return file_generate_protobuf_service_proto_rawDescGZIP(), []int{1}
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
type SendMailReq struct {
|
type SendMailReq struct {
|
||||||
|
@ -112,7 +112,7 @@ type SendMailReq struct {
|
||||||
func (x *SendMailReq) Reset() {
|
func (x *SendMailReq) Reset() {
|
||||||
*x = SendMailReq{}
|
*x = SendMailReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_generate_protobuf_service_proto_msgTypes[2]
|
mi := &file_generate_protobuf_notification_proto_msgTypes[2]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -125,7 +125,7 @@ func (x *SendMailReq) String() string {
|
||||||
func (*SendMailReq) ProtoMessage() {}
|
func (*SendMailReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *SendMailReq) ProtoReflect() protoreflect.Message {
|
func (x *SendMailReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_generate_protobuf_service_proto_msgTypes[2]
|
mi := &file_generate_protobuf_notification_proto_msgTypes[2]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -138,7 +138,7 @@ func (x *SendMailReq) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use SendMailReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use SendMailReq.ProtoReflect.Descriptor instead.
|
||||||
func (*SendMailReq) Descriptor() ([]byte, []int) {
|
func (*SendMailReq) Descriptor() ([]byte, []int) {
|
||||||
return file_generate_protobuf_service_proto_rawDescGZIP(), []int{2}
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendMailReq) GetTo() string {
|
func (x *SendMailReq) GetTo() string {
|
||||||
|
@ -182,7 +182,7 @@ type SendSMSReq struct {
|
||||||
func (x *SendSMSReq) Reset() {
|
func (x *SendSMSReq) Reset() {
|
||||||
*x = SendSMSReq{}
|
*x = SendSMSReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_generate_protobuf_service_proto_msgTypes[3]
|
mi := &file_generate_protobuf_notification_proto_msgTypes[3]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -195,7 +195,7 @@ func (x *SendSMSReq) String() string {
|
||||||
func (*SendSMSReq) ProtoMessage() {}
|
func (*SendSMSReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *SendSMSReq) ProtoReflect() protoreflect.Message {
|
func (x *SendSMSReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_generate_protobuf_service_proto_msgTypes[3]
|
mi := &file_generate_protobuf_notification_proto_msgTypes[3]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -208,7 +208,7 @@ func (x *SendSMSReq) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use SendSMSReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use SendSMSReq.ProtoReflect.Descriptor instead.
|
||||||
func (*SendSMSReq) Descriptor() ([]byte, []int) {
|
func (*SendSMSReq) Descriptor() ([]byte, []int) {
|
||||||
return file_generate_protobuf_service_proto_rawDescGZIP(), []int{3}
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendSMSReq) GetTo() string {
|
func (x *SendSMSReq) GetTo() string {
|
||||||
|
@ -246,7 +246,7 @@ type SendByTemplateIDReq struct {
|
||||||
func (x *SendByTemplateIDReq) Reset() {
|
func (x *SendByTemplateIDReq) Reset() {
|
||||||
*x = SendByTemplateIDReq{}
|
*x = SendByTemplateIDReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_generate_protobuf_service_proto_msgTypes[4]
|
mi := &file_generate_protobuf_notification_proto_msgTypes[4]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -259,7 +259,7 @@ func (x *SendByTemplateIDReq) String() string {
|
||||||
func (*SendByTemplateIDReq) ProtoMessage() {}
|
func (*SendByTemplateIDReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *SendByTemplateIDReq) ProtoReflect() protoreflect.Message {
|
func (x *SendByTemplateIDReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_generate_protobuf_service_proto_msgTypes[4]
|
mi := &file_generate_protobuf_notification_proto_msgTypes[4]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -272,7 +272,7 @@ func (x *SendByTemplateIDReq) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use SendByTemplateIDReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use SendByTemplateIDReq.ProtoReflect.Descriptor instead.
|
||||||
func (*SendByTemplateIDReq) Descriptor() ([]byte, []int) {
|
func (*SendByTemplateIDReq) Descriptor() ([]byte, []int) {
|
||||||
return file_generate_protobuf_service_proto_rawDescGZIP(), []int{4}
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendByTemplateIDReq) GetTo() string {
|
func (x *SendByTemplateIDReq) GetTo() string {
|
||||||
|
@ -303,77 +303,77 @@ func (x *SendByTemplateIDReq) GetContentData() map[string]string {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var File_generate_protobuf_service_proto protoreflect.FileDescriptor
|
var File_generate_protobuf_notification_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_generate_protobuf_service_proto_rawDesc = []byte{
|
var file_generate_protobuf_notification_proto_rawDesc = []byte{
|
||||||
0x0a, 0x1f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
0x0a, 0x24, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||||
0x62, 0x75, 0x66, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
0x62, 0x75, 0x66, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
0x6f, 0x12, 0x0c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
|
||||||
0x08, 0x0a, 0x06, 0x4f, 0x4b, 0x52, 0x65, 0x73, 0x70, 0x22, 0x09, 0x0a, 0x07, 0x4e, 0x6f, 0x6e,
|
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x08, 0x0a, 0x06, 0x4f, 0x4b, 0x52, 0x65, 0x73, 0x70, 0x22, 0x09,
|
||||||
0x65, 0x52, 0x65, 0x71, 0x22, 0x5f, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x69, 0x6c,
|
0x0a, 0x07, 0x4e, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x22, 0x5f, 0x0a, 0x0b, 0x53, 0x65, 0x6e,
|
||||||
0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x64, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01,
|
||||||
0x02, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02,
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a,
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a,
|
0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65,
|
||||||
0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64,
|
0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x79, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x04,
|
||||||
0x04, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0x57, 0x0a, 0x0a, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x4d, 0x53,
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0x57, 0x0a, 0x0a, 0x53, 0x65,
|
||||||
0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x6e, 0x64, 0x53, 0x4d, 0x53, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01,
|
||||||
0x02, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79,
|
||||||
0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x63, 0x69, 0x70,
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x25, 0x0a, 0x0e,
|
||||||
0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
|
||||||
0x0d, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xf1,
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x4e,
|
||||||
0x01, 0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x42, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
|
0x61, 0x6d, 0x65, 0x22, 0xf1, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x42, 0x79, 0x54, 0x65,
|
||||||
0x65, 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01,
|
0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x74,
|
||||||
0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
|
0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x74,
|
||||||
0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x65, 0x6d,
|
0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x18,
|
0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04,
|
||||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x12, 0x55, 0x0a, 0x0c, 0x63,
|
0x6c, 0x61, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x61, 0x6e, 0x67,
|
||||||
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28,
|
0x12, 0x55, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61,
|
||||||
0x0b, 0x32, 0x32, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,
|
||||||
0x2e, 0x53, 0x65, 0x6e, 0x64, 0x42, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49,
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x42, 0x79, 0x54, 0x65, 0x6d, 0x70,
|
||||||
0x44, 0x52, 0x65, 0x71, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61,
|
0x6c, 0x61, 0x74, 0x65, 0x49, 0x44, 0x52, 0x65, 0x71, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
||||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x61,
|
0x74, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74,
|
||||||
0x74, 0x61, 0x1a, 0x3e, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74,
|
0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x3e, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
||||||
0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
||||||
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
|
||||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
|
||||||
0x38, 0x01, 0x32, 0xa8, 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72,
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0xa8, 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64,
|
||||||
0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x69, 0x6c,
|
0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x53, 0x65, 0x6e,
|
||||||
0x12, 0x19, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
0x64, 0x4d, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
|
||||||
0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x6e, 0x6f,
|
0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71,
|
||||||
|
0x1a, 0x14, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
||||||
|
0x4f, 0x4b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x39, 0x0a, 0x07, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d,
|
||||||
|
0x73, 0x12, 0x18, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
|
0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x4d, 0x53, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x6e, 0x6f,
|
||||||
0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x4b, 0x52, 0x65, 0x73,
|
0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x4b, 0x52, 0x65, 0x73,
|
||||||
0x70, 0x12, 0x39, 0x0a, 0x07, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x12, 0x18, 0x2e, 0x6e,
|
0x70, 0x12, 0x4f, 0x0a, 0x14, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x69, 0x6c, 0x42, 0x79, 0x54,
|
||||||
0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64,
|
0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x21, 0x2e, 0x6e, 0x6f, 0x74, 0x69,
|
||||||
0x53, 0x4d, 0x53, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,
|
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x42, 0x79, 0x54,
|
||||||
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x4b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4f, 0x0a, 0x14,
|
0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x6e,
|
||||||
0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x69, 0x6c, 0x42, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
|
0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x4b, 0x52, 0x65,
|
||||||
0x74, 0x65, 0x49, 0x64, 0x12, 0x21, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
|
0x73, 0x70, 0x12, 0x4e, 0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x42, 0x79, 0x54,
|
||||||
0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x42, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
|
0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x21, 0x2e, 0x6e, 0x6f, 0x74, 0x69,
|
||||||
0x74, 0x65, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69,
|
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x42, 0x79, 0x54,
|
||||||
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x4b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4e, 0x0a,
|
0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x6e,
|
||||||
0x13, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x6d, 0x73, 0x42, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
|
0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x4b, 0x52, 0x65,
|
||||||
0x74, 0x65, 0x49, 0x64, 0x12, 0x21, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
|
0x73, 0x70, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
|
||||||
0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x42, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
|
0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x74, 0x65, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69,
|
|
||||||
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x4b, 0x52, 0x65, 0x73, 0x70, 0x42, 0x10, 0x5a,
|
|
||||||
0x0e, 0x2e, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62,
|
|
||||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
file_generate_protobuf_service_proto_rawDescOnce sync.Once
|
file_generate_protobuf_notification_proto_rawDescOnce sync.Once
|
||||||
file_generate_protobuf_service_proto_rawDescData = file_generate_protobuf_service_proto_rawDesc
|
file_generate_protobuf_notification_proto_rawDescData = file_generate_protobuf_notification_proto_rawDesc
|
||||||
)
|
)
|
||||||
|
|
||||||
func file_generate_protobuf_service_proto_rawDescGZIP() []byte {
|
func file_generate_protobuf_notification_proto_rawDescGZIP() []byte {
|
||||||
file_generate_protobuf_service_proto_rawDescOnce.Do(func() {
|
file_generate_protobuf_notification_proto_rawDescOnce.Do(func() {
|
||||||
file_generate_protobuf_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_generate_protobuf_service_proto_rawDescData)
|
file_generate_protobuf_notification_proto_rawDescData = protoimpl.X.CompressGZIP(file_generate_protobuf_notification_proto_rawDescData)
|
||||||
})
|
})
|
||||||
return file_generate_protobuf_service_proto_rawDescData
|
return file_generate_protobuf_notification_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_generate_protobuf_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
var file_generate_protobuf_notification_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||||
var file_generate_protobuf_service_proto_goTypes = []any{
|
var file_generate_protobuf_notification_proto_goTypes = []any{
|
||||||
(*OKResp)(nil), // 0: notification.OKResp
|
(*OKResp)(nil), // 0: notification.OKResp
|
||||||
(*NoneReq)(nil), // 1: notification.NoneReq
|
(*NoneReq)(nil), // 1: notification.NoneReq
|
||||||
(*SendMailReq)(nil), // 2: notification.SendMailReq
|
(*SendMailReq)(nil), // 2: notification.SendMailReq
|
||||||
|
@ -381,7 +381,7 @@ var file_generate_protobuf_service_proto_goTypes = []any{
|
||||||
(*SendByTemplateIDReq)(nil), // 4: notification.SendByTemplateIDReq
|
(*SendByTemplateIDReq)(nil), // 4: notification.SendByTemplateIDReq
|
||||||
nil, // 5: notification.SendByTemplateIDReq.ContentDataEntry
|
nil, // 5: notification.SendByTemplateIDReq.ContentDataEntry
|
||||||
}
|
}
|
||||||
var file_generate_protobuf_service_proto_depIdxs = []int32{
|
var file_generate_protobuf_notification_proto_depIdxs = []int32{
|
||||||
5, // 0: notification.SendByTemplateIDReq.content_data:type_name -> notification.SendByTemplateIDReq.ContentDataEntry
|
5, // 0: notification.SendByTemplateIDReq.content_data:type_name -> notification.SendByTemplateIDReq.ContentDataEntry
|
||||||
2, // 1: notification.SenderService.SendMail:input_type -> notification.SendMailReq
|
2, // 1: notification.SenderService.SendMail:input_type -> notification.SendMailReq
|
||||||
3, // 2: notification.SenderService.SendSms:input_type -> notification.SendSMSReq
|
3, // 2: notification.SenderService.SendSms:input_type -> notification.SendSMSReq
|
||||||
|
@ -398,13 +398,13 @@ var file_generate_protobuf_service_proto_depIdxs = []int32{
|
||||||
0, // [0:1] is the sub-list for field type_name
|
0, // [0:1] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_generate_protobuf_service_proto_init() }
|
func init() { file_generate_protobuf_notification_proto_init() }
|
||||||
func file_generate_protobuf_service_proto_init() {
|
func file_generate_protobuf_notification_proto_init() {
|
||||||
if File_generate_protobuf_service_proto != nil {
|
if File_generate_protobuf_notification_proto != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !protoimpl.UnsafeEnabled {
|
if !protoimpl.UnsafeEnabled {
|
||||||
file_generate_protobuf_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
file_generate_protobuf_notification_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||||
switch v := v.(*OKResp); i {
|
switch v := v.(*OKResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -416,7 +416,7 @@ func file_generate_protobuf_service_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_generate_protobuf_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
file_generate_protobuf_notification_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||||
switch v := v.(*NoneReq); i {
|
switch v := v.(*NoneReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -428,7 +428,7 @@ func file_generate_protobuf_service_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_generate_protobuf_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
file_generate_protobuf_notification_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||||
switch v := v.(*SendMailReq); i {
|
switch v := v.(*SendMailReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -440,7 +440,7 @@ func file_generate_protobuf_service_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_generate_protobuf_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
file_generate_protobuf_notification_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||||
switch v := v.(*SendSMSReq); i {
|
switch v := v.(*SendSMSReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -452,7 +452,7 @@ func file_generate_protobuf_service_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_generate_protobuf_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
file_generate_protobuf_notification_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||||
switch v := v.(*SendByTemplateIDReq); i {
|
switch v := v.(*SendByTemplateIDReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -469,18 +469,18 @@ func file_generate_protobuf_service_proto_init() {
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
File: protoimpl.DescBuilder{
|
File: protoimpl.DescBuilder{
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_generate_protobuf_service_proto_rawDesc,
|
RawDescriptor: file_generate_protobuf_notification_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 6,
|
NumMessages: 6,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
GoTypes: file_generate_protobuf_service_proto_goTypes,
|
GoTypes: file_generate_protobuf_notification_proto_goTypes,
|
||||||
DependencyIndexes: file_generate_protobuf_service_proto_depIdxs,
|
DependencyIndexes: file_generate_protobuf_notification_proto_depIdxs,
|
||||||
MessageInfos: file_generate_protobuf_service_proto_msgTypes,
|
MessageInfos: file_generate_protobuf_notification_proto_msgTypes,
|
||||||
}.Build()
|
}.Build()
|
||||||
File_generate_protobuf_service_proto = out.File
|
File_generate_protobuf_notification_proto = out.File
|
||||||
file_generate_protobuf_service_proto_rawDesc = nil
|
file_generate_protobuf_notification_proto_rawDesc = nil
|
||||||
file_generate_protobuf_service_proto_goTypes = nil
|
file_generate_protobuf_notification_proto_goTypes = nil
|
||||||
file_generate_protobuf_service_proto_depIdxs = nil
|
file_generate_protobuf_notification_proto_depIdxs = nil
|
||||||
}
|
}
|
Loading…
Reference in New Issue