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) GetProvider() 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) GetProvider() 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) GetPage() uint64
- func (x *EmailLogListReq) GetPageSize() uint64
- func (x *EmailLogListReq) GetProvider() string
- func (x *EmailLogListReq) GetSendStatus() uint32
- 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 EmailProviderInfo
- func (*EmailProviderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EmailProviderInfo) GetAuthType() uint32
- func (x *EmailProviderInfo) GetCreatedAt() int64
- func (x *EmailProviderInfo) GetEmailAddr() string
- func (x *EmailProviderInfo) GetHostName() string
- func (x *EmailProviderInfo) GetId() uint64
- func (x *EmailProviderInfo) GetIdentify() string
- func (x *EmailProviderInfo) GetIsDefault() bool
- func (x *EmailProviderInfo) GetName() string
- func (x *EmailProviderInfo) GetPassword() string
- func (x *EmailProviderInfo) GetPort() uint32
- func (x *EmailProviderInfo) GetSecret() string
- func (x *EmailProviderInfo) GetTls() bool
- func (x *EmailProviderInfo) GetUpdatedAt() int64
- func (*EmailProviderInfo) ProtoMessage()
- func (x *EmailProviderInfo) ProtoReflect() protoreflect.Message
- func (x *EmailProviderInfo) Reset()
- func (x *EmailProviderInfo) String() string
- type EmailProviderListReq
- func (*EmailProviderListReq) Descriptor() ([]byte, []int)deprecated
- func (x *EmailProviderListReq) GetEmailAddr() string
- func (x *EmailProviderListReq) GetName() string
- func (x *EmailProviderListReq) GetPage() uint64
- func (x *EmailProviderListReq) GetPageSize() uint64
- func (*EmailProviderListReq) ProtoMessage()
- func (x *EmailProviderListReq) ProtoReflect() protoreflect.Message
- func (x *EmailProviderListReq) Reset()
- func (x *EmailProviderListReq) String() string
- type EmailProviderListResp
- func (*EmailProviderListResp) Descriptor() ([]byte, []int)deprecated
- func (x *EmailProviderListResp) GetData() []*EmailProviderInfo
- func (x *EmailProviderListResp) GetTotal() uint64
- func (*EmailProviderListResp) ProtoMessage()
- func (x *EmailProviderListResp) ProtoReflect() protoreflect.Message
- func (x *EmailProviderListResp) Reset()
- func (x *EmailProviderListResp) 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) GetProvider() 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 (x *SmsLogListReq) GetSendStatus() uint32
- 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 SmsProviderInfo
- func (*SmsProviderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SmsProviderInfo) GetCreatedAt() int64
- func (x *SmsProviderInfo) GetId() uint64
- func (x *SmsProviderInfo) GetIsDefault() bool
- func (x *SmsProviderInfo) GetName() string
- func (x *SmsProviderInfo) GetRegion() string
- func (x *SmsProviderInfo) GetSecretId() string
- func (x *SmsProviderInfo) GetSecretKey() string
- func (x *SmsProviderInfo) GetUpdatedAt() int64
- func (*SmsProviderInfo) ProtoMessage()
- func (x *SmsProviderInfo) ProtoReflect() protoreflect.Message
- func (x *SmsProviderInfo) Reset()
- func (x *SmsProviderInfo) String() string
- type SmsProviderListReq
- func (*SmsProviderListReq) Descriptor() ([]byte, []int)deprecated
- func (x *SmsProviderListReq) GetName() string
- func (x *SmsProviderListReq) GetPage() uint64
- func (x *SmsProviderListReq) GetPageSize() uint64
- func (*SmsProviderListReq) ProtoMessage()
- func (x *SmsProviderListReq) ProtoReflect() protoreflect.Message
- func (x *SmsProviderListReq) Reset()
- func (x *SmsProviderListReq) String() string
- type SmsProviderListResp
- func (*SmsProviderListResp) Descriptor() ([]byte, []int)deprecated
- func (x *SmsProviderListResp) GetData() []*SmsProviderInfo
- func (x *SmsProviderListResp) GetTotal() uint64
- func (*SmsProviderListResp) ProtoMessage()
- func (x *SmsProviderListResp) ProtoReflect() protoreflect.Message
- func (x *SmsProviderListResp) Reset()
- func (x *SmsProviderListResp) String() string
- type UUIDReq
- type UUIDsReq
- type UnimplementedMcmsServer
- func (UnimplementedMcmsServer) CreateEmailLog(context.Context, *EmailLogInfo) (*BaseUUIDResp, error)
- func (UnimplementedMcmsServer) CreateEmailProvider(context.Context, *EmailProviderInfo) (*BaseIDResp, error)
- func (UnimplementedMcmsServer) CreateSmsLog(context.Context, *SmsLogInfo) (*BaseUUIDResp, error)
- func (UnimplementedMcmsServer) CreateSmsProvider(context.Context, *SmsProviderInfo) (*BaseIDResp, error)
- func (UnimplementedMcmsServer) DeleteEmailLog(context.Context, *UUIDsReq) (*BaseResp, error)
- func (UnimplementedMcmsServer) DeleteEmailProvider(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedMcmsServer) DeleteSmsLog(context.Context, *UUIDsReq) (*BaseResp, error)
- func (UnimplementedMcmsServer) DeleteSmsProvider(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedMcmsServer) GetEmailLogById(context.Context, *UUIDReq) (*EmailLogInfo, error)
- func (UnimplementedMcmsServer) GetEmailLogList(context.Context, *EmailLogListReq) (*EmailLogListResp, error)
- func (UnimplementedMcmsServer) GetEmailProviderById(context.Context, *IDReq) (*EmailProviderInfo, error)
- func (UnimplementedMcmsServer) GetEmailProviderList(context.Context, *EmailProviderListReq) (*EmailProviderListResp, error)
- func (UnimplementedMcmsServer) GetSmsLogById(context.Context, *UUIDReq) (*SmsLogInfo, error)
- func (UnimplementedMcmsServer) GetSmsLogList(context.Context, *SmsLogListReq) (*SmsLogListResp, error)
- func (UnimplementedMcmsServer) GetSmsProviderById(context.Context, *IDReq) (*SmsProviderInfo, error)
- func (UnimplementedMcmsServer) GetSmsProviderList(context.Context, *SmsProviderListReq) (*SmsProviderListResp, 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) UpdateEmailProvider(context.Context, *EmailProviderInfo) (*BaseResp, error)
- func (UnimplementedMcmsServer) UpdateSmsLog(context.Context, *SmsLogInfo) (*BaseResp, error)
- func (UnimplementedMcmsServer) UpdateSmsProvider(context.Context, *SmsProviderInfo) (*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_CreateEmailProvider_FullMethodName = "/mcms.Mcms/createEmailProvider" Mcms_UpdateEmailProvider_FullMethodName = "/mcms.Mcms/updateEmailProvider" Mcms_GetEmailProviderList_FullMethodName = "/mcms.Mcms/getEmailProviderList" Mcms_GetEmailProviderById_FullMethodName = "/mcms.Mcms/getEmailProviderById" Mcms_DeleteEmailProvider_FullMethodName = "/mcms.Mcms/deleteEmailProvider" 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" Mcms_CreateSmsProvider_FullMethodName = "/mcms.Mcms/createSmsProvider" Mcms_UpdateSmsProvider_FullMethodName = "/mcms.Mcms/updateSmsProvider" Mcms_GetSmsProviderList_FullMethodName = "/mcms.Mcms/getSmsProviderList" Mcms_GetSmsProviderById_FullMethodName = "/mcms.Mcms/getSmsProviderById" Mcms_DeleteSmsProvider_FullMethodName = "/mcms.Mcms/deleteSmsProvider" )
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: "createEmailProvider", Handler: _Mcms_CreateEmailProvider_Handler, }, { MethodName: "updateEmailProvider", Handler: _Mcms_UpdateEmailProvider_Handler, }, { MethodName: "getEmailProviderList", Handler: _Mcms_GetEmailProviderList_Handler, }, { MethodName: "getEmailProviderById", Handler: _Mcms_GetEmailProviderById_Handler, }, { MethodName: "deleteEmailProvider", Handler: _Mcms_DeleteEmailProvider_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, }, { MethodName: "createSmsProvider", Handler: _Mcms_CreateSmsProvider_Handler, }, { MethodName: "updateSmsProvider", Handler: _Mcms_UpdateSmsProvider_Handler, }, { MethodName: "getSmsProviderList", Handler: _Mcms_GetSmsProviderList_Handler, }, { MethodName: "getSmsProviderById", Handler: _Mcms_GetSmsProviderById_Handler, }, { MethodName: "deleteSmsProvider", Handler: _Mcms_DeleteSmsProvider_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"` Provider *string `protobuf:"bytes,4,opt,name=provider,proto3,oneof" json:"provider"` // contains filtered or unexported fields }
func (*EmailInfo) Descriptor
deprecated
func (*EmailInfo) GetContent ¶
func (*EmailInfo) GetProvider ¶ added in v1.0.14
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"` Provider *string `protobuf:"bytes,8,opt,name=provider,proto3,oneof" json:"provider"` // 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) GetProvider ¶ added in v1.0.14
func (x *EmailLogInfo) GetProvider() 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"` Provider *string `protobuf:"bytes,5,opt,name=provider,proto3,oneof" json:"provider"` SendStatus *uint32 `protobuf:"varint,6,opt,name=send_status,json=sendStatus,proto3,oneof" json:"send_status"` // contains filtered or unexported fields }
func (*EmailLogListReq) Descriptor
deprecated
func (*EmailLogListReq) Descriptor() ([]byte, []int)
Deprecated: Use EmailLogListReq.ProtoReflect.Descriptor instead.
func (*EmailLogListReq) GetPage ¶
func (x *EmailLogListReq) GetPage() uint64
func (*EmailLogListReq) GetPageSize ¶
func (x *EmailLogListReq) GetPageSize() uint64
func (*EmailLogListReq) GetProvider ¶ added in v1.0.14
func (x *EmailLogListReq) GetProvider() string
func (*EmailLogListReq) GetSendStatus ¶ added in v1.0.14
func (x *EmailLogListReq) GetSendStatus() uint32
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 EmailProviderInfo ¶ added in v1.0.14
type EmailProviderInfo struct { Id *uint64 `protobuf:"varint,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"` Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name"` AuthType *uint32 `protobuf:"varint,5,opt,name=auth_type,json=authType,proto3,oneof" json:"auth_type"` EmailAddr *string `protobuf:"bytes,6,opt,name=email_addr,json=emailAddr,proto3,oneof" json:"email_addr"` Password *string `protobuf:"bytes,7,opt,name=password,proto3,oneof" json:"password"` HostName *string `protobuf:"bytes,8,opt,name=host_name,json=hostName,proto3,oneof" json:"host_name"` Identify *string `protobuf:"bytes,9,opt,name=identify,proto3,oneof" json:"identify"` Secret *string `protobuf:"bytes,10,opt,name=secret,proto3,oneof" json:"secret"` Port *uint32 `protobuf:"varint,11,opt,name=port,proto3,oneof" json:"port"` Tls *bool `protobuf:"varint,12,opt,name=tls,proto3,oneof" json:"tls"` IsDefault *bool `protobuf:"varint,13,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default"` // contains filtered or unexported fields }
func (*EmailProviderInfo) Descriptor
deprecated
added in
v1.0.14
func (*EmailProviderInfo) Descriptor() ([]byte, []int)
Deprecated: Use EmailProviderInfo.ProtoReflect.Descriptor instead.
func (*EmailProviderInfo) GetAuthType ¶ added in v1.0.14
func (x *EmailProviderInfo) GetAuthType() uint32
func (*EmailProviderInfo) GetCreatedAt ¶ added in v1.0.14
func (x *EmailProviderInfo) GetCreatedAt() int64
func (*EmailProviderInfo) GetEmailAddr ¶ added in v1.0.14
func (x *EmailProviderInfo) GetEmailAddr() string
func (*EmailProviderInfo) GetHostName ¶ added in v1.0.14
func (x *EmailProviderInfo) GetHostName() string
func (*EmailProviderInfo) GetId ¶ added in v1.0.14
func (x *EmailProviderInfo) GetId() uint64
func (*EmailProviderInfo) GetIdentify ¶ added in v1.0.14
func (x *EmailProviderInfo) GetIdentify() string
func (*EmailProviderInfo) GetIsDefault ¶ added in v1.0.14
func (x *EmailProviderInfo) GetIsDefault() bool
func (*EmailProviderInfo) GetName ¶ added in v1.0.14
func (x *EmailProviderInfo) GetName() string
func (*EmailProviderInfo) GetPassword ¶ added in v1.0.14
func (x *EmailProviderInfo) GetPassword() string
func (*EmailProviderInfo) GetPort ¶ added in v1.0.14
func (x *EmailProviderInfo) GetPort() uint32
func (*EmailProviderInfo) GetSecret ¶ added in v1.0.14
func (x *EmailProviderInfo) GetSecret() string
func (*EmailProviderInfo) GetTls ¶ added in v1.0.14
func (x *EmailProviderInfo) GetTls() bool
func (*EmailProviderInfo) GetUpdatedAt ¶ added in v1.0.14
func (x *EmailProviderInfo) GetUpdatedAt() int64
func (*EmailProviderInfo) ProtoMessage ¶ added in v1.0.14
func (*EmailProviderInfo) ProtoMessage()
func (*EmailProviderInfo) ProtoReflect ¶ added in v1.0.14
func (x *EmailProviderInfo) ProtoReflect() protoreflect.Message
func (*EmailProviderInfo) Reset ¶ added in v1.0.14
func (x *EmailProviderInfo) Reset()
func (*EmailProviderInfo) String ¶ added in v1.0.14
func (x *EmailProviderInfo) String() string
type EmailProviderListReq ¶ added in v1.0.14
type EmailProviderListReq 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"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name"` EmailAddr *string `protobuf:"bytes,4,opt,name=email_addr,json=emailAddr,proto3,oneof" json:"email_addr"` // contains filtered or unexported fields }
func (*EmailProviderListReq) Descriptor
deprecated
added in
v1.0.14
func (*EmailProviderListReq) Descriptor() ([]byte, []int)
Deprecated: Use EmailProviderListReq.ProtoReflect.Descriptor instead.
func (*EmailProviderListReq) GetEmailAddr ¶ added in v1.0.14
func (x *EmailProviderListReq) GetEmailAddr() string
func (*EmailProviderListReq) GetName ¶ added in v1.0.14
func (x *EmailProviderListReq) GetName() string
func (*EmailProviderListReq) GetPage ¶ added in v1.0.14
func (x *EmailProviderListReq) GetPage() uint64
func (*EmailProviderListReq) GetPageSize ¶ added in v1.0.14
func (x *EmailProviderListReq) GetPageSize() uint64
func (*EmailProviderListReq) ProtoMessage ¶ added in v1.0.14
func (*EmailProviderListReq) ProtoMessage()
func (*EmailProviderListReq) ProtoReflect ¶ added in v1.0.14
func (x *EmailProviderListReq) ProtoReflect() protoreflect.Message
func (*EmailProviderListReq) Reset ¶ added in v1.0.14
func (x *EmailProviderListReq) Reset()
func (*EmailProviderListReq) String ¶ added in v1.0.14
func (x *EmailProviderListReq) String() string
type EmailProviderListResp ¶ added in v1.0.14
type EmailProviderListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"` Data []*EmailProviderInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*EmailProviderListResp) Descriptor
deprecated
added in
v1.0.14
func (*EmailProviderListResp) Descriptor() ([]byte, []int)
Deprecated: Use EmailProviderListResp.ProtoReflect.Descriptor instead.
func (*EmailProviderListResp) GetData ¶ added in v1.0.14
func (x *EmailProviderListResp) GetData() []*EmailProviderInfo
func (*EmailProviderListResp) GetTotal ¶ added in v1.0.14
func (x *EmailProviderListResp) GetTotal() uint64
func (*EmailProviderListResp) ProtoMessage ¶ added in v1.0.14
func (*EmailProviderListResp) ProtoMessage()
func (*EmailProviderListResp) ProtoReflect ¶ added in v1.0.14
func (x *EmailProviderListResp) ProtoReflect() protoreflect.Message
func (*EmailProviderListResp) Reset ¶ added in v1.0.14
func (x *EmailProviderListResp) Reset()
func (*EmailProviderListResp) String ¶ added in v1.0.14
func (x *EmailProviderListResp) 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) // EmailProvider management // group: emailprovider CreateEmailProvider(ctx context.Context, in *EmailProviderInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: emailprovider UpdateEmailProvider(ctx context.Context, in *EmailProviderInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: emailprovider GetEmailProviderList(ctx context.Context, in *EmailProviderListReq, opts ...grpc.CallOption) (*EmailProviderListResp, error) // group: emailprovider GetEmailProviderById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*EmailProviderInfo, error) // group: emailprovider DeleteEmailProvider(ctx context.Context, in *IDsReq, 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) // SmsProvider management // group: smsprovider CreateSmsProvider(ctx context.Context, in *SmsProviderInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: smsprovider UpdateSmsProvider(ctx context.Context, in *SmsProviderInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: smsprovider GetSmsProviderList(ctx context.Context, in *SmsProviderListReq, opts ...grpc.CallOption) (*SmsProviderListResp, error) // group: smsprovider GetSmsProviderById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*SmsProviderInfo, error) // group: smsprovider DeleteSmsProvider(ctx context.Context, in *IDsReq, 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) // EmailProvider management // group: emailprovider CreateEmailProvider(context.Context, *EmailProviderInfo) (*BaseIDResp, error) // group: emailprovider UpdateEmailProvider(context.Context, *EmailProviderInfo) (*BaseResp, error) // group: emailprovider GetEmailProviderList(context.Context, *EmailProviderListReq) (*EmailProviderListResp, error) // group: emailprovider GetEmailProviderById(context.Context, *IDReq) (*EmailProviderInfo, error) // group: emailprovider DeleteEmailProvider(context.Context, *IDsReq) (*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) // SmsProvider management // group: smsprovider CreateSmsProvider(context.Context, *SmsProviderInfo) (*BaseIDResp, error) // group: smsprovider UpdateSmsProvider(context.Context, *SmsProviderInfo) (*BaseResp, error) // group: smsprovider GetSmsProviderList(context.Context, *SmsProviderListReq) (*SmsProviderListResp, error) // group: smsprovider GetSmsProviderById(context.Context, *IDReq) (*SmsProviderInfo, error) // group: smsprovider DeleteSmsProvider(context.Context, *IDsReq) (*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"` Provider *string `protobuf:"bytes,7,opt,name=provider,proto3,oneof" json:"provider"` // contains filtered or unexported fields }
func (*SmsInfo) Descriptor
deprecated
func (*SmsInfo) GetPhoneNumber ¶
func (*SmsInfo) GetProvider ¶ added in v1.0.14
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"` SendStatus *uint32 `protobuf:"varint,6,opt,name=send_status,json=sendStatus,proto3,oneof" json:"send_status"` // 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) GetSendStatus ¶ added in v1.0.14
func (x *SmsLogListReq) GetSendStatus() uint32
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 SmsProviderInfo ¶ added in v1.0.14
type SmsProviderInfo struct { Id *uint64 `protobuf:"varint,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"` Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name"` SecretId *string `protobuf:"bytes,5,opt,name=secret_id,json=secretId,proto3,oneof" json:"secret_id"` SecretKey *string `protobuf:"bytes,6,opt,name=secret_key,json=secretKey,proto3,oneof" json:"secret_key"` Region *string `protobuf:"bytes,7,opt,name=region,proto3,oneof" json:"region"` IsDefault *bool `protobuf:"varint,8,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default"` // contains filtered or unexported fields }
func (*SmsProviderInfo) Descriptor
deprecated
added in
v1.0.14
func (*SmsProviderInfo) Descriptor() ([]byte, []int)
Deprecated: Use SmsProviderInfo.ProtoReflect.Descriptor instead.
func (*SmsProviderInfo) GetCreatedAt ¶ added in v1.0.14
func (x *SmsProviderInfo) GetCreatedAt() int64
func (*SmsProviderInfo) GetId ¶ added in v1.0.14
func (x *SmsProviderInfo) GetId() uint64
func (*SmsProviderInfo) GetIsDefault ¶ added in v1.0.14
func (x *SmsProviderInfo) GetIsDefault() bool
func (*SmsProviderInfo) GetName ¶ added in v1.0.14
func (x *SmsProviderInfo) GetName() string
func (*SmsProviderInfo) GetRegion ¶ added in v1.0.14
func (x *SmsProviderInfo) GetRegion() string
func (*SmsProviderInfo) GetSecretId ¶ added in v1.0.14
func (x *SmsProviderInfo) GetSecretId() string
func (*SmsProviderInfo) GetSecretKey ¶ added in v1.0.14
func (x *SmsProviderInfo) GetSecretKey() string
func (*SmsProviderInfo) GetUpdatedAt ¶ added in v1.0.14
func (x *SmsProviderInfo) GetUpdatedAt() int64
func (*SmsProviderInfo) ProtoMessage ¶ added in v1.0.14
func (*SmsProviderInfo) ProtoMessage()
func (*SmsProviderInfo) ProtoReflect ¶ added in v1.0.14
func (x *SmsProviderInfo) ProtoReflect() protoreflect.Message
func (*SmsProviderInfo) Reset ¶ added in v1.0.14
func (x *SmsProviderInfo) Reset()
func (*SmsProviderInfo) String ¶ added in v1.0.14
func (x *SmsProviderInfo) String() string
type SmsProviderListReq ¶ added in v1.0.14
type SmsProviderListReq 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"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name"` // contains filtered or unexported fields }
func (*SmsProviderListReq) Descriptor
deprecated
added in
v1.0.14
func (*SmsProviderListReq) Descriptor() ([]byte, []int)
Deprecated: Use SmsProviderListReq.ProtoReflect.Descriptor instead.
func (*SmsProviderListReq) GetName ¶ added in v1.0.14
func (x *SmsProviderListReq) GetName() string
func (*SmsProviderListReq) GetPage ¶ added in v1.0.14
func (x *SmsProviderListReq) GetPage() uint64
func (*SmsProviderListReq) GetPageSize ¶ added in v1.0.14
func (x *SmsProviderListReq) GetPageSize() uint64
func (*SmsProviderListReq) ProtoMessage ¶ added in v1.0.14
func (*SmsProviderListReq) ProtoMessage()
func (*SmsProviderListReq) ProtoReflect ¶ added in v1.0.14
func (x *SmsProviderListReq) ProtoReflect() protoreflect.Message
func (*SmsProviderListReq) Reset ¶ added in v1.0.14
func (x *SmsProviderListReq) Reset()
func (*SmsProviderListReq) String ¶ added in v1.0.14
func (x *SmsProviderListReq) String() string
type SmsProviderListResp ¶ added in v1.0.14
type SmsProviderListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"` Data []*SmsProviderInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*SmsProviderListResp) Descriptor
deprecated
added in
v1.0.14
func (*SmsProviderListResp) Descriptor() ([]byte, []int)
Deprecated: Use SmsProviderListResp.ProtoReflect.Descriptor instead.
func (*SmsProviderListResp) GetData ¶ added in v1.0.14
func (x *SmsProviderListResp) GetData() []*SmsProviderInfo
func (*SmsProviderListResp) GetTotal ¶ added in v1.0.14
func (x *SmsProviderListResp) GetTotal() uint64
func (*SmsProviderListResp) ProtoMessage ¶ added in v1.0.14
func (*SmsProviderListResp) ProtoMessage()
func (*SmsProviderListResp) ProtoReflect ¶ added in v1.0.14
func (x *SmsProviderListResp) ProtoReflect() protoreflect.Message
func (*SmsProviderListResp) Reset ¶ added in v1.0.14
func (x *SmsProviderListResp) Reset()
func (*SmsProviderListResp) String ¶ added in v1.0.14
func (x *SmsProviderListResp) 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) CreateEmailProvider ¶ added in v1.0.14
func (UnimplementedMcmsServer) CreateEmailProvider(context.Context, *EmailProviderInfo) (*BaseIDResp, error)
func (UnimplementedMcmsServer) CreateSmsLog ¶
func (UnimplementedMcmsServer) CreateSmsLog(context.Context, *SmsLogInfo) (*BaseUUIDResp, error)
func (UnimplementedMcmsServer) CreateSmsProvider ¶ added in v1.0.14
func (UnimplementedMcmsServer) CreateSmsProvider(context.Context, *SmsProviderInfo) (*BaseIDResp, error)
func (UnimplementedMcmsServer) DeleteEmailLog ¶
func (UnimplementedMcmsServer) DeleteEmailProvider ¶ added in v1.0.14
func (UnimplementedMcmsServer) DeleteSmsLog ¶
func (UnimplementedMcmsServer) DeleteSmsProvider ¶ added in v1.0.14
func (UnimplementedMcmsServer) GetEmailLogById ¶
func (UnimplementedMcmsServer) GetEmailLogById(context.Context, *UUIDReq) (*EmailLogInfo, error)
func (UnimplementedMcmsServer) GetEmailLogList ¶
func (UnimplementedMcmsServer) GetEmailLogList(context.Context, *EmailLogListReq) (*EmailLogListResp, error)
func (UnimplementedMcmsServer) GetEmailProviderById ¶ added in v1.0.14
func (UnimplementedMcmsServer) GetEmailProviderById(context.Context, *IDReq) (*EmailProviderInfo, error)
func (UnimplementedMcmsServer) GetEmailProviderList ¶ added in v1.0.14
func (UnimplementedMcmsServer) GetEmailProviderList(context.Context, *EmailProviderListReq) (*EmailProviderListResp, 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) GetSmsProviderById ¶ added in v1.0.14
func (UnimplementedMcmsServer) GetSmsProviderById(context.Context, *IDReq) (*SmsProviderInfo, error)
func (UnimplementedMcmsServer) GetSmsProviderList ¶ added in v1.0.14
func (UnimplementedMcmsServer) GetSmsProviderList(context.Context, *SmsProviderListReq) (*SmsProviderListResp, 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) UpdateEmailProvider ¶ added in v1.0.14
func (UnimplementedMcmsServer) UpdateEmailProvider(context.Context, *EmailProviderInfo) (*BaseResp, error)
func (UnimplementedMcmsServer) UpdateSmsLog ¶
func (UnimplementedMcmsServer) UpdateSmsLog(context.Context, *SmsLogInfo) (*BaseResp, error)
func (UnimplementedMcmsServer) UpdateSmsProvider ¶ added in v1.0.14
func (UnimplementedMcmsServer) UpdateSmsProvider(context.Context, *SmsProviderInfo) (*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.