mcms

package
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use BaseResp.ProtoReflect.Descriptor instead.

func (*BaseResp) GetMsg

func (x *BaseResp) GetMsg() string

func (*BaseResp) ProtoMessage

func (*BaseResp) ProtoMessage()

func (*BaseResp) ProtoReflect

func (x *BaseResp) ProtoReflect() protoreflect.Message

func (*BaseResp) Reset

func (x *BaseResp) Reset()

func (*BaseResp) String

func (x *BaseResp) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use EmailInfo.ProtoReflect.Descriptor instead.

func (*EmailInfo) GetContent

func (x *EmailInfo) GetContent() string

func (*EmailInfo) GetSubject

func (x *EmailInfo) GetSubject() string

func (*EmailInfo) GetTarget

func (x *EmailInfo) GetTarget() []string

func (*EmailInfo) ProtoMessage

func (*EmailInfo) ProtoMessage()

func (*EmailInfo) ProtoReflect

func (x *EmailInfo) ProtoReflect() protoreflect.Message

func (*EmailInfo) Reset

func (x *EmailInfo) Reset()

func (*EmailInfo) String

func (x *EmailInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use IDReq.ProtoReflect.Descriptor instead.

func (*IDReq) GetId

func (x *IDReq) GetId() uint64

func (*IDReq) ProtoMessage

func (*IDReq) ProtoMessage()

func (*IDReq) ProtoReflect

func (x *IDReq) ProtoReflect() protoreflect.Message

func (*IDReq) Reset

func (x *IDReq) Reset()

func (*IDReq) String

func (x *IDReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use IDsReq.ProtoReflect.Descriptor instead.

func (*IDsReq) GetIds

func (x *IDsReq) GetIds() []uint64

func (*IDsReq) ProtoMessage

func (*IDsReq) ProtoMessage()

func (*IDsReq) ProtoReflect

func (x *IDsReq) ProtoReflect() protoreflect.Message

func (*IDsReq) Reset

func (x *IDsReq) Reset()

func (*IDsReq) String

func (x *IDsReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use SmsInfo.ProtoReflect.Descriptor instead.

func (*SmsInfo) GetAppId

func (x *SmsInfo) GetAppId() string

func (*SmsInfo) GetParams

func (x *SmsInfo) GetParams() []string

func (*SmsInfo) GetPhoneNumber

func (x *SmsInfo) GetPhoneNumber() []string

func (*SmsInfo) GetSignName

func (x *SmsInfo) GetSignName() string

func (*SmsInfo) GetTemplateId

func (x *SmsInfo) GetTemplateId() string

func (*SmsInfo) ProtoMessage

func (*SmsInfo) ProtoMessage()

func (*SmsInfo) ProtoReflect

func (x *SmsInfo) ProtoReflect() protoreflect.Message

func (*SmsInfo) Reset

func (x *SmsInfo) Reset()

func (*SmsInfo) String

func (x *SmsInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UUIDReq.ProtoReflect.Descriptor instead.

func (*UUIDReq) GetId

func (x *UUIDReq) GetId() string

func (*UUIDReq) ProtoMessage

func (*UUIDReq) ProtoMessage()

func (*UUIDReq) ProtoReflect

func (x *UUIDReq) ProtoReflect() protoreflect.Message

func (*UUIDReq) Reset

func (x *UUIDReq) Reset()

func (*UUIDReq) String

func (x *UUIDReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UUIDsReq.ProtoReflect.Descriptor instead.

func (*UUIDsReq) GetIds

func (x *UUIDsReq) GetIds() []string

func (*UUIDsReq) ProtoMessage

func (*UUIDsReq) ProtoMessage()

func (*UUIDsReq) ProtoReflect

func (x *UUIDsReq) ProtoReflect() protoreflect.Message

func (*UUIDsReq) Reset

func (x *UUIDsReq) Reset()

func (*UUIDsReq) String

func (x *UUIDsReq) String() string

type UnimplementedMcmsServer

type UnimplementedMcmsServer struct {
}

UnimplementedMcmsServer must be embedded to have forward compatible implementations.

func (UnimplementedMcmsServer) CreateEmailLog

func (UnimplementedMcmsServer) CreateSmsLog

func (UnimplementedMcmsServer) DeleteEmailLog

func (UnimplementedMcmsServer) DeleteSmsLog

func (UnimplementedMcmsServer) GetEmailLogById

func (UnimplementedMcmsServer) GetEmailLogList

func (UnimplementedMcmsServer) GetSmsLogById

func (UnimplementedMcmsServer) GetSmsLogList

func (UnimplementedMcmsServer) InitDatabase

func (UnimplementedMcmsServer) SendEmail

func (UnimplementedMcmsServer) SendSms

func (UnimplementedMcmsServer) UpdateEmailLog

func (UnimplementedMcmsServer) UpdateSmsLog

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL