Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterMcmsServer(s grpc.ServiceRegistrar, srv McmsServer)
- type BaseIDResp
- type BaseResp
- type BaseUUIDResp
- func (*BaseUUIDResp) Descriptor() ([]byte, []int)deprecated
- func (x *BaseUUIDResp) GetId() string
- func (x *BaseUUIDResp) GetMsg() string
- func (*BaseUUIDResp) ProtoMessage()
- func (x *BaseUUIDResp) ProtoReflect() protoreflect.Message
- func (x *BaseUUIDResp) Reset()
- func (x *BaseUUIDResp) String() string
- type EmailInfo
- func (*EmailInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EmailInfo) GetContent() string
- func (x *EmailInfo) GetSubject() string
- func (x *EmailInfo) GetTarget() []string
- func (*EmailInfo) ProtoMessage()
- func (x *EmailInfo) ProtoReflect() protoreflect.Message
- func (x *EmailInfo) Reset()
- func (x *EmailInfo) String() string
- type EmailLogInfo
- func (*EmailLogInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EmailLogInfo) GetContent() string
- func (x *EmailLogInfo) GetCreatedAt() int64
- func (x *EmailLogInfo) GetId() string
- func (x *EmailLogInfo) GetSendStatus() uint32
- func (x *EmailLogInfo) GetSubject() string
- func (x *EmailLogInfo) GetTarget() string
- func (x *EmailLogInfo) GetUpdatedAt() int64
- func (*EmailLogInfo) ProtoMessage()
- func (x *EmailLogInfo) ProtoReflect() protoreflect.Message
- func (x *EmailLogInfo) Reset()
- func (x *EmailLogInfo) String() string
- type EmailLogListReq
- func (*EmailLogListReq) Descriptor() ([]byte, []int)deprecated
- func (x *EmailLogListReq) GetContent() string
- func (x *EmailLogListReq) GetPage() uint64
- func (x *EmailLogListReq) GetPageSize() uint64
- func (x *EmailLogListReq) GetSubject() string
- func (x *EmailLogListReq) GetTarget() string
- func (*EmailLogListReq) ProtoMessage()
- func (x *EmailLogListReq) ProtoReflect() protoreflect.Message
- func (x *EmailLogListReq) Reset()
- func (x *EmailLogListReq) String() string
- type EmailLogListResp
- func (*EmailLogListResp) Descriptor() ([]byte, []int)deprecated
- func (x *EmailLogListResp) GetData() []*EmailLogInfo
- func (x *EmailLogListResp) GetTotal() uint64
- func (*EmailLogListResp) ProtoMessage()
- func (x *EmailLogListResp) ProtoReflect() protoreflect.Message
- func (x *EmailLogListResp) Reset()
- func (x *EmailLogListResp) String() string
- type Empty
- type IDReq
- type IDsReq
- type McmsClient
- type McmsServer
- type PageInfoReq
- func (*PageInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfoReq) GetPage() uint64
- func (x *PageInfoReq) GetPageSize() uint64
- func (*PageInfoReq) ProtoMessage()
- func (x *PageInfoReq) ProtoReflect() protoreflect.Message
- func (x *PageInfoReq) Reset()
- func (x *PageInfoReq) String() string
- type SmsInfo
- func (*SmsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SmsInfo) GetAppId() string
- func (x *SmsInfo) GetParams() []string
- func (x *SmsInfo) GetPhoneNumber() []string
- func (x *SmsInfo) GetSignName() string
- func (x *SmsInfo) GetTemplateId() string
- func (*SmsInfo) ProtoMessage()
- func (x *SmsInfo) ProtoReflect() protoreflect.Message
- func (x *SmsInfo) Reset()
- func (x *SmsInfo) String() string
- type SmsLogInfo
- func (*SmsLogInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SmsLogInfo) GetContent() string
- func (x *SmsLogInfo) GetCreatedAt() int64
- func (x *SmsLogInfo) GetId() string
- func (x *SmsLogInfo) GetPhoneNumber() string
- func (x *SmsLogInfo) GetProvider() string
- func (x *SmsLogInfo) GetSendStatus() uint32
- func (x *SmsLogInfo) GetUpdatedAt() int64
- func (*SmsLogInfo) ProtoMessage()
- func (x *SmsLogInfo) ProtoReflect() protoreflect.Message
- func (x *SmsLogInfo) Reset()
- func (x *SmsLogInfo) String() string
- type SmsLogListReq
- func (*SmsLogListReq) Descriptor() ([]byte, []int)deprecated
- func (x *SmsLogListReq) GetContent() string
- func (x *SmsLogListReq) GetPage() uint64
- func (x *SmsLogListReq) GetPageSize() uint64
- func (x *SmsLogListReq) GetPhoneNumber() string
- func (x *SmsLogListReq) GetProvider() string
- func (*SmsLogListReq) ProtoMessage()
- func (x *SmsLogListReq) ProtoReflect() protoreflect.Message
- func (x *SmsLogListReq) Reset()
- func (x *SmsLogListReq) String() string
- type SmsLogListResp
- func (*SmsLogListResp) Descriptor() ([]byte, []int)deprecated
- func (x *SmsLogListResp) GetData() []*SmsLogInfo
- func (x *SmsLogListResp) GetTotal() uint64
- func (*SmsLogListResp) ProtoMessage()
- func (x *SmsLogListResp) ProtoReflect() protoreflect.Message
- func (x *SmsLogListResp) Reset()
- func (x *SmsLogListResp) String() string
- type UUIDReq
- type UUIDsReq
- type UnimplementedMcmsServer
- func (UnimplementedMcmsServer) CreateEmailLog(context.Context, *EmailLogInfo) (*BaseUUIDResp, error)
- func (UnimplementedMcmsServer) CreateSmsLog(context.Context, *SmsLogInfo) (*BaseUUIDResp, error)
- func (UnimplementedMcmsServer) DeleteEmailLog(context.Context, *UUIDsReq) (*BaseResp, error)
- func (UnimplementedMcmsServer) DeleteSmsLog(context.Context, *UUIDsReq) (*BaseResp, error)
- func (UnimplementedMcmsServer) GetEmailLogById(context.Context, *UUIDReq) (*EmailLogInfo, error)
- func (UnimplementedMcmsServer) GetEmailLogList(context.Context, *EmailLogListReq) (*EmailLogListResp, error)
- func (UnimplementedMcmsServer) GetSmsLogById(context.Context, *UUIDReq) (*SmsLogInfo, error)
- func (UnimplementedMcmsServer) GetSmsLogList(context.Context, *SmsLogListReq) (*SmsLogListResp, error)
- func (UnimplementedMcmsServer) InitDatabase(context.Context, *Empty) (*BaseResp, error)
- func (UnimplementedMcmsServer) SendEmail(context.Context, *EmailInfo) (*BaseUUIDResp, error)
- func (UnimplementedMcmsServer) SendSms(context.Context, *SmsInfo) (*BaseUUIDResp, error)
- func (UnimplementedMcmsServer) UpdateEmailLog(context.Context, *EmailLogInfo) (*BaseResp, error)
- func (UnimplementedMcmsServer) UpdateSmsLog(context.Context, *SmsLogInfo) (*BaseResp, error)
- type UnsafeMcmsServer
Constants ¶
const ( Mcms_InitDatabase_FullMethodName = "/mcms.Mcms/initDatabase" Mcms_SendEmail_FullMethodName = "/mcms.Mcms/sendEmail" Mcms_CreateEmailLog_FullMethodName = "/mcms.Mcms/createEmailLog" Mcms_UpdateEmailLog_FullMethodName = "/mcms.Mcms/updateEmailLog" Mcms_GetEmailLogList_FullMethodName = "/mcms.Mcms/getEmailLogList" Mcms_GetEmailLogById_FullMethodName = "/mcms.Mcms/getEmailLogById" Mcms_DeleteEmailLog_FullMethodName = "/mcms.Mcms/deleteEmailLog" Mcms_SendSms_FullMethodName = "/mcms.Mcms/sendSms" Mcms_CreateSmsLog_FullMethodName = "/mcms.Mcms/createSmsLog" Mcms_UpdateSmsLog_FullMethodName = "/mcms.Mcms/updateSmsLog" Mcms_GetSmsLogList_FullMethodName = "/mcms.Mcms/getSmsLogList" Mcms_GetSmsLogById_FullMethodName = "/mcms.Mcms/getSmsLogById" Mcms_DeleteSmsLog_FullMethodName = "/mcms.Mcms/deleteSmsLog" )
Variables ¶
var File_mcms_proto protoreflect.FileDescriptor
var Mcms_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mcms.Mcms", HandlerType: (*McmsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "initDatabase", Handler: _Mcms_InitDatabase_Handler, }, { MethodName: "sendEmail", Handler: _Mcms_SendEmail_Handler, }, { MethodName: "createEmailLog", Handler: _Mcms_CreateEmailLog_Handler, }, { MethodName: "updateEmailLog", Handler: _Mcms_UpdateEmailLog_Handler, }, { MethodName: "getEmailLogList", Handler: _Mcms_GetEmailLogList_Handler, }, { MethodName: "getEmailLogById", Handler: _Mcms_GetEmailLogById_Handler, }, { MethodName: "deleteEmailLog", Handler: _Mcms_DeleteEmailLog_Handler, }, { MethodName: "sendSms", Handler: _Mcms_SendSms_Handler, }, { MethodName: "createSmsLog", Handler: _Mcms_CreateSmsLog_Handler, }, { MethodName: "updateSmsLog", Handler: _Mcms_UpdateSmsLog_Handler, }, { MethodName: "getSmsLogList", Handler: _Mcms_GetSmsLogList_Handler, }, { MethodName: "getSmsLogById", Handler: _Mcms_GetSmsLogById_Handler, }, { MethodName: "deleteSmsLog", Handler: _Mcms_DeleteSmsLog_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mcms.proto", }
Mcms_ServiceDesc is the grpc.ServiceDesc for Mcms service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMcmsServer ¶
func RegisterMcmsServer(s grpc.ServiceRegistrar, srv McmsServer)
Types ¶
type BaseIDResp ¶
type BaseIDResp struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"` // contains filtered or unexported fields }
func (*BaseIDResp) Descriptor
deprecated
func (*BaseIDResp) Descriptor() ([]byte, []int)
Deprecated: Use BaseIDResp.ProtoReflect.Descriptor instead.
func (*BaseIDResp) GetId ¶
func (x *BaseIDResp) GetId() uint64
func (*BaseIDResp) GetMsg ¶
func (x *BaseIDResp) GetMsg() string
func (*BaseIDResp) ProtoMessage ¶
func (*BaseIDResp) ProtoMessage()
func (*BaseIDResp) ProtoReflect ¶
func (x *BaseIDResp) ProtoReflect() protoreflect.Message
func (*BaseIDResp) Reset ¶
func (x *BaseIDResp) Reset()
func (*BaseIDResp) String ¶
func (x *BaseIDResp) String() string
type BaseResp ¶
type BaseResp struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg"` // contains filtered or unexported fields }
func (*BaseResp) Descriptor
deprecated
func (*BaseResp) ProtoMessage ¶
func (*BaseResp) ProtoMessage()
func (*BaseResp) ProtoReflect ¶
func (x *BaseResp) ProtoReflect() protoreflect.Message
type BaseUUIDResp ¶
type BaseUUIDResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"` // contains filtered or unexported fields }
func (*BaseUUIDResp) Descriptor
deprecated
func (*BaseUUIDResp) Descriptor() ([]byte, []int)
Deprecated: Use BaseUUIDResp.ProtoReflect.Descriptor instead.
func (*BaseUUIDResp) GetId ¶
func (x *BaseUUIDResp) GetId() string
func (*BaseUUIDResp) GetMsg ¶
func (x *BaseUUIDResp) GetMsg() string
func (*BaseUUIDResp) ProtoMessage ¶
func (*BaseUUIDResp) ProtoMessage()
func (*BaseUUIDResp) ProtoReflect ¶
func (x *BaseUUIDResp) ProtoReflect() protoreflect.Message
func (*BaseUUIDResp) Reset ¶
func (x *BaseUUIDResp) Reset()
func (*BaseUUIDResp) String ¶
func (x *BaseUUIDResp) String() string
type EmailInfo ¶
type EmailInfo struct { Target []string `protobuf:"bytes,1,rep,name=target,proto3" json:"target"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"` // contains filtered or unexported fields }
func (*EmailInfo) Descriptor
deprecated
func (*EmailInfo) GetContent ¶
func (*EmailInfo) GetSubject ¶
func (*EmailInfo) ProtoMessage ¶
func (*EmailInfo) ProtoMessage()
func (*EmailInfo) ProtoReflect ¶
func (x *EmailInfo) ProtoReflect() protoreflect.Message
type EmailLogInfo ¶
type EmailLogInfo struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at"` Target *string `protobuf:"bytes,4,opt,name=target,proto3,oneof" json:"target"` Subject *string `protobuf:"bytes,5,opt,name=subject,proto3,oneof" json:"subject"` Content *string `protobuf:"bytes,6,opt,name=content,proto3,oneof" json:"content"` SendStatus *uint32 `protobuf:"varint,7,opt,name=send_status,json=sendStatus,proto3,oneof" json:"send_status"` // contains filtered or unexported fields }
func (*EmailLogInfo) Descriptor
deprecated
func (*EmailLogInfo) Descriptor() ([]byte, []int)
Deprecated: Use EmailLogInfo.ProtoReflect.Descriptor instead.
func (*EmailLogInfo) GetContent ¶
func (x *EmailLogInfo) GetContent() string
func (*EmailLogInfo) GetCreatedAt ¶
func (x *EmailLogInfo) GetCreatedAt() int64
func (*EmailLogInfo) GetId ¶
func (x *EmailLogInfo) GetId() string
func (*EmailLogInfo) GetSendStatus ¶
func (x *EmailLogInfo) GetSendStatus() uint32
func (*EmailLogInfo) GetSubject ¶
func (x *EmailLogInfo) GetSubject() string
func (*EmailLogInfo) GetTarget ¶
func (x *EmailLogInfo) GetTarget() string
func (*EmailLogInfo) GetUpdatedAt ¶
func (x *EmailLogInfo) GetUpdatedAt() int64
func (*EmailLogInfo) ProtoMessage ¶
func (*EmailLogInfo) ProtoMessage()
func (*EmailLogInfo) ProtoReflect ¶
func (x *EmailLogInfo) ProtoReflect() protoreflect.Message
func (*EmailLogInfo) Reset ¶
func (x *EmailLogInfo) Reset()
func (*EmailLogInfo) String ¶
func (x *EmailLogInfo) String() string
type EmailLogListReq ¶
type EmailLogListReq struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"` Target *string `protobuf:"bytes,3,opt,name=target,proto3,oneof" json:"target"` Subject *string `protobuf:"bytes,4,opt,name=subject,proto3,oneof" json:"subject"` Content *string `protobuf:"bytes,5,opt,name=content,proto3,oneof" json:"content"` // contains filtered or unexported fields }
func (*EmailLogListReq) Descriptor
deprecated
func (*EmailLogListReq) Descriptor() ([]byte, []int)
Deprecated: Use EmailLogListReq.ProtoReflect.Descriptor instead.
func (*EmailLogListReq) GetContent ¶
func (x *EmailLogListReq) GetContent() string
func (*EmailLogListReq) GetPage ¶
func (x *EmailLogListReq) GetPage() uint64
func (*EmailLogListReq) GetPageSize ¶
func (x *EmailLogListReq) GetPageSize() uint64
func (*EmailLogListReq) GetSubject ¶
func (x *EmailLogListReq) GetSubject() string
func (*EmailLogListReq) GetTarget ¶
func (x *EmailLogListReq) GetTarget() string
func (*EmailLogListReq) ProtoMessage ¶
func (*EmailLogListReq) ProtoMessage()
func (*EmailLogListReq) ProtoReflect ¶
func (x *EmailLogListReq) ProtoReflect() protoreflect.Message
func (*EmailLogListReq) Reset ¶
func (x *EmailLogListReq) Reset()
func (*EmailLogListReq) String ¶
func (x *EmailLogListReq) String() string
type EmailLogListResp ¶
type EmailLogListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"` Data []*EmailLogInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*EmailLogListResp) Descriptor
deprecated
func (*EmailLogListResp) Descriptor() ([]byte, []int)
Deprecated: Use EmailLogListResp.ProtoReflect.Descriptor instead.
func (*EmailLogListResp) GetData ¶
func (x *EmailLogListResp) GetData() []*EmailLogInfo
func (*EmailLogListResp) GetTotal ¶
func (x *EmailLogListResp) GetTotal() uint64
func (*EmailLogListResp) ProtoMessage ¶
func (*EmailLogListResp) ProtoMessage()
func (*EmailLogListResp) ProtoReflect ¶
func (x *EmailLogListResp) ProtoReflect() protoreflect.Message
func (*EmailLogListResp) Reset ¶
func (x *EmailLogListResp) Reset()
func (*EmailLogListResp) String ¶
func (x *EmailLogListResp) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
base message
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type IDReq ¶
type IDReq struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // contains filtered or unexported fields }
func (*IDReq) Descriptor
deprecated
func (*IDReq) ProtoMessage ¶
func (*IDReq) ProtoMessage()
func (*IDReq) ProtoReflect ¶
func (x *IDReq) ProtoReflect() protoreflect.Message
type IDsReq ¶
type IDsReq struct { Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids"` // contains filtered or unexported fields }
func (*IDsReq) Descriptor
deprecated
func (*IDsReq) ProtoMessage ¶
func (*IDsReq) ProtoMessage()
func (*IDsReq) ProtoReflect ¶
func (x *IDsReq) ProtoReflect() protoreflect.Message
type McmsClient ¶
type McmsClient interface { // group: base InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // group: email SendEmail(ctx context.Context, in *EmailInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) // EmailLog management // group: emaillog CreateEmailLog(ctx context.Context, in *EmailLogInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) // group: emaillog UpdateEmailLog(ctx context.Context, in *EmailLogInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: emaillog GetEmailLogList(ctx context.Context, in *EmailLogListReq, opts ...grpc.CallOption) (*EmailLogListResp, error) // group: emaillog GetEmailLogById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*EmailLogInfo, error) // group: emaillog DeleteEmailLog(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) // group: sms SendSms(ctx context.Context, in *SmsInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) // SmsLog management // group: smslog CreateSmsLog(ctx context.Context, in *SmsLogInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) // group: smslog UpdateSmsLog(ctx context.Context, in *SmsLogInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: smslog GetSmsLogList(ctx context.Context, in *SmsLogListReq, opts ...grpc.CallOption) (*SmsLogListResp, error) // group: smslog GetSmsLogById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*SmsLogInfo, error) // group: smslog DeleteSmsLog(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) }
McmsClient is the client API for Mcms 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 NewMcmsClient ¶
func NewMcmsClient(cc grpc.ClientConnInterface) McmsClient
type McmsServer ¶
type McmsServer interface { // group: base InitDatabase(context.Context, *Empty) (*BaseResp, error) // group: email SendEmail(context.Context, *EmailInfo) (*BaseUUIDResp, error) // EmailLog management // group: emaillog CreateEmailLog(context.Context, *EmailLogInfo) (*BaseUUIDResp, error) // group: emaillog UpdateEmailLog(context.Context, *EmailLogInfo) (*BaseResp, error) // group: emaillog GetEmailLogList(context.Context, *EmailLogListReq) (*EmailLogListResp, error) // group: emaillog GetEmailLogById(context.Context, *UUIDReq) (*EmailLogInfo, error) // group: emaillog DeleteEmailLog(context.Context, *UUIDsReq) (*BaseResp, error) // group: sms SendSms(context.Context, *SmsInfo) (*BaseUUIDResp, error) // SmsLog management // group: smslog CreateSmsLog(context.Context, *SmsLogInfo) (*BaseUUIDResp, error) // group: smslog UpdateSmsLog(context.Context, *SmsLogInfo) (*BaseResp, error) // group: smslog GetSmsLogList(context.Context, *SmsLogListReq) (*SmsLogListResp, error) // group: smslog GetSmsLogById(context.Context, *UUIDReq) (*SmsLogInfo, error) // group: smslog DeleteSmsLog(context.Context, *UUIDsReq) (*BaseResp, error) // contains filtered or unexported methods }
McmsServer is the server API for Mcms service. All implementations must embed UnimplementedMcmsServer for forward compatibility
type PageInfoReq ¶
type PageInfoReq struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"` // contains filtered or unexported fields }
func (*PageInfoReq) Descriptor
deprecated
func (*PageInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use PageInfoReq.ProtoReflect.Descriptor instead.
func (*PageInfoReq) GetPage ¶
func (x *PageInfoReq) GetPage() uint64
func (*PageInfoReq) GetPageSize ¶
func (x *PageInfoReq) GetPageSize() uint64
func (*PageInfoReq) ProtoMessage ¶
func (*PageInfoReq) ProtoMessage()
func (*PageInfoReq) ProtoReflect ¶
func (x *PageInfoReq) ProtoReflect() protoreflect.Message
func (*PageInfoReq) Reset ¶
func (x *PageInfoReq) Reset()
func (*PageInfoReq) String ¶
func (x *PageInfoReq) String() string
type SmsInfo ¶
type SmsInfo struct { PhoneNumber []string `protobuf:"bytes,1,rep,name=phone_number,json=phoneNumber,proto3" json:"phone_number"` Params []string `protobuf:"bytes,2,rep,name=params,proto3" json:"params"` TemplateId *string `protobuf:"bytes,4,opt,name=template_id,json=templateId,proto3,oneof" json:"template_id"` AppId *string `protobuf:"bytes,5,opt,name=app_id,json=appId,proto3,oneof" json:"app_id"` SignName *string `protobuf:"bytes,6,opt,name=sign_name,json=signName,proto3,oneof" json:"sign_name"` // contains filtered or unexported fields }
func (*SmsInfo) Descriptor
deprecated
func (*SmsInfo) GetPhoneNumber ¶
func (*SmsInfo) GetSignName ¶
func (*SmsInfo) GetTemplateId ¶
func (*SmsInfo) ProtoMessage ¶
func (*SmsInfo) ProtoMessage()
func (*SmsInfo) ProtoReflect ¶
func (x *SmsInfo) ProtoReflect() protoreflect.Message
type SmsLogInfo ¶
type SmsLogInfo struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at"` PhoneNumber *string `protobuf:"bytes,4,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number"` Content *string `protobuf:"bytes,5,opt,name=content,proto3,oneof" json:"content"` SendStatus *uint32 `protobuf:"varint,6,opt,name=send_status,json=sendStatus,proto3,oneof" json:"send_status"` Provider *string `protobuf:"bytes,7,opt,name=provider,proto3,oneof" json:"provider"` // contains filtered or unexported fields }
func (*SmsLogInfo) Descriptor
deprecated
func (*SmsLogInfo) Descriptor() ([]byte, []int)
Deprecated: Use SmsLogInfo.ProtoReflect.Descriptor instead.
func (*SmsLogInfo) GetContent ¶
func (x *SmsLogInfo) GetContent() string
func (*SmsLogInfo) GetCreatedAt ¶
func (x *SmsLogInfo) GetCreatedAt() int64
func (*SmsLogInfo) GetId ¶
func (x *SmsLogInfo) GetId() string
func (*SmsLogInfo) GetPhoneNumber ¶
func (x *SmsLogInfo) GetPhoneNumber() string
func (*SmsLogInfo) GetProvider ¶
func (x *SmsLogInfo) GetProvider() string
func (*SmsLogInfo) GetSendStatus ¶
func (x *SmsLogInfo) GetSendStatus() uint32
func (*SmsLogInfo) GetUpdatedAt ¶
func (x *SmsLogInfo) GetUpdatedAt() int64
func (*SmsLogInfo) ProtoMessage ¶
func (*SmsLogInfo) ProtoMessage()
func (*SmsLogInfo) ProtoReflect ¶
func (x *SmsLogInfo) ProtoReflect() protoreflect.Message
func (*SmsLogInfo) Reset ¶
func (x *SmsLogInfo) Reset()
func (*SmsLogInfo) String ¶
func (x *SmsLogInfo) String() string
type SmsLogListReq ¶
type SmsLogListReq struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"` PhoneNumber *string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number"` Content *string `protobuf:"bytes,4,opt,name=content,proto3,oneof" json:"content"` Provider *string `protobuf:"bytes,5,opt,name=provider,proto3,oneof" json:"provider"` // contains filtered or unexported fields }
func (*SmsLogListReq) Descriptor
deprecated
func (*SmsLogListReq) Descriptor() ([]byte, []int)
Deprecated: Use SmsLogListReq.ProtoReflect.Descriptor instead.
func (*SmsLogListReq) GetContent ¶
func (x *SmsLogListReq) GetContent() string
func (*SmsLogListReq) GetPage ¶
func (x *SmsLogListReq) GetPage() uint64
func (*SmsLogListReq) GetPageSize ¶
func (x *SmsLogListReq) GetPageSize() uint64
func (*SmsLogListReq) GetPhoneNumber ¶
func (x *SmsLogListReq) GetPhoneNumber() string
func (*SmsLogListReq) GetProvider ¶
func (x *SmsLogListReq) GetProvider() string
func (*SmsLogListReq) ProtoMessage ¶
func (*SmsLogListReq) ProtoMessage()
func (*SmsLogListReq) ProtoReflect ¶
func (x *SmsLogListReq) ProtoReflect() protoreflect.Message
func (*SmsLogListReq) Reset ¶
func (x *SmsLogListReq) Reset()
func (*SmsLogListReq) String ¶
func (x *SmsLogListReq) String() string
type SmsLogListResp ¶
type SmsLogListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"` Data []*SmsLogInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*SmsLogListResp) Descriptor
deprecated
func (*SmsLogListResp) Descriptor() ([]byte, []int)
Deprecated: Use SmsLogListResp.ProtoReflect.Descriptor instead.
func (*SmsLogListResp) GetData ¶
func (x *SmsLogListResp) GetData() []*SmsLogInfo
func (*SmsLogListResp) GetTotal ¶
func (x *SmsLogListResp) GetTotal() uint64
func (*SmsLogListResp) ProtoMessage ¶
func (*SmsLogListResp) ProtoMessage()
func (*SmsLogListResp) ProtoReflect ¶
func (x *SmsLogListResp) ProtoReflect() protoreflect.Message
func (*SmsLogListResp) Reset ¶
func (x *SmsLogListResp) Reset()
func (*SmsLogListResp) String ¶
func (x *SmsLogListResp) String() string
type UUIDReq ¶
type UUIDReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // contains filtered or unexported fields }
func (*UUIDReq) Descriptor
deprecated
func (*UUIDReq) ProtoMessage ¶
func (*UUIDReq) ProtoMessage()
func (*UUIDReq) ProtoReflect ¶
func (x *UUIDReq) ProtoReflect() protoreflect.Message
type UUIDsReq ¶
type UUIDsReq struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids"` // contains filtered or unexported fields }
func (*UUIDsReq) Descriptor
deprecated
func (*UUIDsReq) ProtoMessage ¶
func (*UUIDsReq) ProtoMessage()
func (*UUIDsReq) ProtoReflect ¶
func (x *UUIDsReq) ProtoReflect() protoreflect.Message
type UnimplementedMcmsServer ¶
type UnimplementedMcmsServer struct { }
UnimplementedMcmsServer must be embedded to have forward compatible implementations.
func (UnimplementedMcmsServer) CreateEmailLog ¶
func (UnimplementedMcmsServer) CreateEmailLog(context.Context, *EmailLogInfo) (*BaseUUIDResp, error)
func (UnimplementedMcmsServer) CreateSmsLog ¶
func (UnimplementedMcmsServer) CreateSmsLog(context.Context, *SmsLogInfo) (*BaseUUIDResp, error)
func (UnimplementedMcmsServer) DeleteEmailLog ¶
func (UnimplementedMcmsServer) DeleteSmsLog ¶
func (UnimplementedMcmsServer) GetEmailLogById ¶
func (UnimplementedMcmsServer) GetEmailLogById(context.Context, *UUIDReq) (*EmailLogInfo, error)
func (UnimplementedMcmsServer) GetEmailLogList ¶
func (UnimplementedMcmsServer) GetEmailLogList(context.Context, *EmailLogListReq) (*EmailLogListResp, error)
func (UnimplementedMcmsServer) GetSmsLogById ¶
func (UnimplementedMcmsServer) GetSmsLogById(context.Context, *UUIDReq) (*SmsLogInfo, error)
func (UnimplementedMcmsServer) GetSmsLogList ¶
func (UnimplementedMcmsServer) GetSmsLogList(context.Context, *SmsLogListReq) (*SmsLogListResp, error)
func (UnimplementedMcmsServer) InitDatabase ¶
func (UnimplementedMcmsServer) SendEmail ¶
func (UnimplementedMcmsServer) SendEmail(context.Context, *EmailInfo) (*BaseUUIDResp, error)
func (UnimplementedMcmsServer) SendSms ¶
func (UnimplementedMcmsServer) SendSms(context.Context, *SmsInfo) (*BaseUUIDResp, error)
func (UnimplementedMcmsServer) UpdateEmailLog ¶
func (UnimplementedMcmsServer) UpdateEmailLog(context.Context, *EmailLogInfo) (*BaseResp, error)
func (UnimplementedMcmsServer) UpdateSmsLog ¶
func (UnimplementedMcmsServer) UpdateSmsLog(context.Context, *SmsLogInfo) (*BaseResp, error)
type UnsafeMcmsServer ¶
type UnsafeMcmsServer interface {
// contains filtered or unexported methods
}
UnsafeMcmsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to McmsServer will result in compilation errors.