Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterMixRpcServiceServer(s grpc.ServiceRegistrar, srv MixRpcServiceServer)
- type CallbackParams
- func (*CallbackParams) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackParams) GetPath() string
- func (x *CallbackParams) GetRequestID() string
- func (*CallbackParams) ProtoMessage()
- func (x *CallbackParams) ProtoReflect() protoreflect.Message
- func (x *CallbackParams) Reset()
- func (x *CallbackParams) String() string
- type CallbackResp
- func (*CallbackResp) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackResp) GetCode() int32
- func (x *CallbackResp) GetData() *Data
- func (x *CallbackResp) GetMsg() string
- func (x *CallbackResp) GetPath() string
- func (x *CallbackResp) GetRequestID() string
- func (*CallbackResp) ProtoMessage()
- func (x *CallbackResp) ProtoReflect() protoreflect.Message
- func (x *CallbackResp) Reset()
- func (x *CallbackResp) String() string
- type CaptchaReq
- func (*CaptchaReq) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaReq) GetDotCount() int64
- func (x *CaptchaReq) GetImgHeight() int64
- func (x *CaptchaReq) GetImgWidth() int64
- func (x *CaptchaReq) GetKey() string
- func (x *CaptchaReq) GetKeyLong() int64
- func (x *CaptchaReq) GetMaxSkew() float64
- func (*CaptchaReq) ProtoMessage()
- func (x *CaptchaReq) ProtoReflect() protoreflect.Message
- func (x *CaptchaReq) Reset()
- func (x *CaptchaReq) String() string
- type CaptchaResp
- func (*CaptchaResp) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaResp) GetCode() int32
- func (x *CaptchaResp) GetData() *CaptchaRespData
- func (x *CaptchaResp) GetMsg() string
- func (x *CaptchaResp) GetPath() string
- func (x *CaptchaResp) GetRequestID() string
- func (*CaptchaResp) ProtoMessage()
- func (x *CaptchaResp) ProtoReflect() protoreflect.Message
- func (x *CaptchaResp) Reset()
- func (x *CaptchaResp) String() string
- type CaptchaRespData
- func (*CaptchaRespData) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaRespData) GetAccount() string
- func (x *CaptchaRespData) GetContent() string
- func (x *CaptchaRespData) GetImg() string
- func (x *CaptchaRespData) GetKey() string
- func (*CaptchaRespData) ProtoMessage()
- func (x *CaptchaRespData) ProtoReflect() protoreflect.Message
- func (x *CaptchaRespData) Reset()
- func (x *CaptchaRespData) String() string
- type Cc
- type CheckUploadResultParams
- func (*CheckUploadResultParams) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUploadResultParams) GetRequestID() string
- func (*CheckUploadResultParams) ProtoMessage()
- func (x *CheckUploadResultParams) ProtoReflect() protoreflect.Message
- func (x *CheckUploadResultParams) Reset()
- func (x *CheckUploadResultParams) String() string
- type CheckUploadResultResp
- func (*CheckUploadResultResp) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUploadResultResp) GetCode() int32
- func (x *CheckUploadResultResp) GetData() *Data
- func (x *CheckUploadResultResp) GetMsg() string
- func (x *CheckUploadResultResp) GetPath() string
- func (x *CheckUploadResultResp) GetRequestID() string
- func (*CheckUploadResultResp) ProtoMessage()
- func (x *CheckUploadResultResp) ProtoReflect() protoreflect.Message
- func (x *CheckUploadResultResp) Reset()
- func (x *CheckUploadResultResp) String() string
- type Data
- type EmsReq
- func (*EmsReq) Descriptor() ([]byte, []int)deprecated
- func (x *EmsReq) GetCc() []*Cc
- func (x *EmsReq) GetKey() string
- func (x *EmsReq) GetRecipientEmail() []string
- func (x *EmsReq) GetSendBody() string
- func (x *EmsReq) GetSendType() string
- func (x *EmsReq) GetSubject() string
- func (*EmsReq) ProtoMessage()
- func (x *EmsReq) ProtoReflect() protoreflect.Message
- func (x *EmsReq) Reset()
- func (x *EmsReq) String() string
- type EmsResp
- func (*EmsResp) Descriptor() ([]byte, []int)deprecated
- func (x *EmsResp) GetCode() int32
- func (x *EmsResp) GetData() *Data
- func (x *EmsResp) GetMsg() string
- func (x *EmsResp) GetPath() string
- func (x *EmsResp) GetRequestID() string
- func (*EmsResp) ProtoMessage()
- func (x *EmsResp) ProtoReflect() protoreflect.Message
- func (x *EmsResp) Reset()
- func (x *EmsResp) String() string
- type GenerateUploadSignParams
- func (*GenerateUploadSignParams) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateUploadSignParams) GetCallBack() string
- func (x *GenerateUploadSignParams) GetFilename() string
- func (x *GenerateUploadSignParams) GetIsCallBack() bool
- func (x *GenerateUploadSignParams) GetKey() string
- func (x *GenerateUploadSignParams) GetUploadDir() string
- func (*GenerateUploadSignParams) ProtoMessage()
- func (x *GenerateUploadSignParams) ProtoReflect() protoreflect.Message
- func (x *GenerateUploadSignParams) Reset()
- func (x *GenerateUploadSignParams) String() string
- type GenerateUploadSignParamsResp
- func (*GenerateUploadSignParamsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateUploadSignParamsResp) GetCode() int32
- func (x *GenerateUploadSignParamsResp) GetData() *GenerateUploadSignParamsRespData
- func (x *GenerateUploadSignParamsResp) GetMsg() string
- func (x *GenerateUploadSignParamsResp) GetPath() string
- func (x *GenerateUploadSignParamsResp) GetRequestID() string
- func (*GenerateUploadSignParamsResp) ProtoMessage()
- func (x *GenerateUploadSignParamsResp) ProtoReflect() protoreflect.Message
- func (x *GenerateUploadSignParamsResp) Reset()
- func (x *GenerateUploadSignParamsResp) String() string
- type GenerateUploadSignParamsRespData
- func (*GenerateUploadSignParamsRespData) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateUploadSignParamsRespData) GetCallback() string
- func (x *GenerateUploadSignParamsRespData) GetDomain() string
- func (x *GenerateUploadSignParamsRespData) GetHost() string
- func (x *GenerateUploadSignParamsRespData) GetIsCallback() bool
- func (x *GenerateUploadSignParamsRespData) GetKey() string
- func (x *GenerateUploadSignParamsRespData) GetOSSAccessKeyId() string
- func (x *GenerateUploadSignParamsRespData) GetPolicy() string
- func (x *GenerateUploadSignParamsRespData) GetSignature() string
- func (*GenerateUploadSignParamsRespData) ProtoMessage()
- func (x *GenerateUploadSignParamsRespData) ProtoReflect() protoreflect.Message
- func (x *GenerateUploadSignParamsRespData) Reset()
- func (x *GenerateUploadSignParamsRespData) String() string
- type MixRpcServiceClient
- type MixRpcServiceServer
- type SmsParams
- func (*SmsParams) Descriptor() ([]byte, []int)deprecated
- func (x *SmsParams) GetKey() string
- func (x *SmsParams) GetMobile() string
- func (x *SmsParams) GetParams() []string
- func (*SmsParams) ProtoMessage()
- func (x *SmsParams) ProtoReflect() protoreflect.Message
- func (x *SmsParams) Reset()
- func (x *SmsParams) String() string
- type SmsResp
- func (*SmsResp) Descriptor() ([]byte, []int)deprecated
- func (x *SmsResp) GetCode() int32
- func (x *SmsResp) GetData() *Data
- func (x *SmsResp) GetMsg() string
- func (x *SmsResp) GetPath() string
- func (x *SmsResp) GetRequestID() string
- func (*SmsResp) ProtoMessage()
- func (x *SmsResp) ProtoReflect() protoreflect.Message
- func (x *SmsResp) Reset()
- func (x *SmsResp) String() string
- type SmsSearchParams
- func (*SmsSearchParams) Descriptor() ([]byte, []int)deprecated
- func (x *SmsSearchParams) GetKey() string
- func (x *SmsSearchParams) GetMobile() string
- func (x *SmsSearchParams) GetRequestId() string
- func (*SmsSearchParams) ProtoMessage()
- func (x *SmsSearchParams) ProtoReflect() protoreflect.Message
- func (x *SmsSearchParams) Reset()
- func (x *SmsSearchParams) String() string
- type UnimplementedMixRpcServiceServer
- func (UnimplementedMixRpcServiceServer) Callback(context.Context, *CallbackParams) (*CallbackResp, error)
- func (UnimplementedMixRpcServiceServer) CaptchaGenerate(context.Context, *CaptchaReq) (*CaptchaResp, error)
- func (UnimplementedMixRpcServiceServer) CheckEmsRpc(context.Context, *EmsReq) (*EmsResp, error)
- func (UnimplementedMixRpcServiceServer) CheckSms(context.Context, *SmsSearchParams) (*SmsResp, error)
- func (UnimplementedMixRpcServiceServer) CheckUploadResult(context.Context, *CheckUploadResultParams) (*CheckUploadResultResp, error)
- func (UnimplementedMixRpcServiceServer) GenerateUploadSign(context.Context, *GenerateUploadSignParams) (*GenerateUploadSignParamsResp, error)
- func (UnimplementedMixRpcServiceServer) SendEmsRpc(context.Context, *EmsReq) (*EmsResp, error)
- func (UnimplementedMixRpcServiceServer) SendSms(context.Context, *SmsParams) (*SmsResp, error)
- type UnsafeMixRpcServiceServer
Constants ¶
const ( MixRpcService_SendSms_FullMethodName = "/mix.MixRpcService/SendSms" MixRpcService_CheckSms_FullMethodName = "/mix.MixRpcService/CheckSms" MixRpcService_CheckEmsRpc_FullMethodName = "/mix.MixRpcService/CheckEmsRpc" MixRpcService_SendEmsRpc_FullMethodName = "/mix.MixRpcService/SendEmsRpc" MixRpcService_GenerateUploadSign_FullMethodName = "/mix.MixRpcService/GenerateUploadSign" MixRpcService_CheckUploadResult_FullMethodName = "/mix.MixRpcService/CheckUploadResult" MixRpcService_Callback_FullMethodName = "/mix.MixRpcService/Callback" MixRpcService_CaptchaGenerate_FullMethodName = "/mix.MixRpcService/CaptchaGenerate" )
Variables ¶
var File_mix_proto protoreflect.FileDescriptor
var MixRpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mix.MixRpcService", HandlerType: (*MixRpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendSms", Handler: _MixRpcService_SendSms_Handler, }, { MethodName: "CheckSms", Handler: _MixRpcService_CheckSms_Handler, }, { MethodName: "CheckEmsRpc", Handler: _MixRpcService_CheckEmsRpc_Handler, }, { MethodName: "SendEmsRpc", Handler: _MixRpcService_SendEmsRpc_Handler, }, { MethodName: "GenerateUploadSign", Handler: _MixRpcService_GenerateUploadSign_Handler, }, { MethodName: "CheckUploadResult", Handler: _MixRpcService_CheckUploadResult_Handler, }, { MethodName: "Callback", Handler: _MixRpcService_Callback_Handler, }, { MethodName: "CaptchaGenerate", Handler: _MixRpcService_CaptchaGenerate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mix.proto", }
MixRpcService_ServiceDesc is the grpc.ServiceDesc for MixRpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMixRpcServiceServer ¶ added in v0.0.51
func RegisterMixRpcServiceServer(s grpc.ServiceRegistrar, srv MixRpcServiceServer)
Types ¶
type CallbackParams ¶
type CallbackParams struct { RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*CallbackParams) Descriptor
deprecated
func (*CallbackParams) Descriptor() ([]byte, []int)
Deprecated: Use CallbackParams.ProtoReflect.Descriptor instead.
func (*CallbackParams) GetPath ¶
func (x *CallbackParams) GetPath() string
func (*CallbackParams) GetRequestID ¶
func (x *CallbackParams) GetRequestID() string
func (*CallbackParams) ProtoMessage ¶
func (*CallbackParams) ProtoMessage()
func (*CallbackParams) ProtoReflect ¶
func (x *CallbackParams) ProtoReflect() protoreflect.Message
func (*CallbackParams) Reset ¶
func (x *CallbackParams) Reset()
func (*CallbackParams) String ¶
func (x *CallbackParams) String() string
type CallbackResp ¶
type CallbackResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *Data `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CallbackResp) Descriptor
deprecated
func (*CallbackResp) Descriptor() ([]byte, []int)
Deprecated: Use CallbackResp.ProtoReflect.Descriptor instead.
func (*CallbackResp) GetCode ¶
func (x *CallbackResp) GetCode() int32
func (*CallbackResp) GetData ¶
func (x *CallbackResp) GetData() *Data
func (*CallbackResp) GetMsg ¶
func (x *CallbackResp) GetMsg() string
func (*CallbackResp) GetPath ¶
func (x *CallbackResp) GetPath() string
func (*CallbackResp) GetRequestID ¶
func (x *CallbackResp) GetRequestID() string
func (*CallbackResp) ProtoMessage ¶
func (*CallbackResp) ProtoMessage()
func (*CallbackResp) ProtoReflect ¶
func (x *CallbackResp) ProtoReflect() protoreflect.Message
func (*CallbackResp) Reset ¶
func (x *CallbackResp) Reset()
func (*CallbackResp) String ¶
func (x *CallbackResp) String() string
type CaptchaReq ¶
type CaptchaReq struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` DotCount int64 `protobuf:"varint,2,opt,name=DotCount,proto3" json:"DotCount,omitempty"` MaxSkew float64 `protobuf:"fixed64,3,opt,name=MaxSkew,proto3" json:"MaxSkew,omitempty"` KeyLong int64 `protobuf:"varint,4,opt,name=KeyLong,proto3" json:"KeyLong,omitempty"` ImgWidth int64 `protobuf:"varint,5,opt,name=ImgWidth,proto3" json:"ImgWidth,omitempty"` ImgHeight int64 `protobuf:"varint,6,opt,name=ImgHeight,proto3" json:"ImgHeight,omitempty"` // contains filtered or unexported fields }
note: 验证码服务
func (*CaptchaReq) Descriptor
deprecated
func (*CaptchaReq) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaReq.ProtoReflect.Descriptor instead.
func (*CaptchaReq) GetDotCount ¶
func (x *CaptchaReq) GetDotCount() int64
func (*CaptchaReq) GetImgHeight ¶
func (x *CaptchaReq) GetImgHeight() int64
func (*CaptchaReq) GetImgWidth ¶
func (x *CaptchaReq) GetImgWidth() int64
func (*CaptchaReq) GetKey ¶
func (x *CaptchaReq) GetKey() string
func (*CaptchaReq) GetKeyLong ¶
func (x *CaptchaReq) GetKeyLong() int64
func (*CaptchaReq) GetMaxSkew ¶
func (x *CaptchaReq) GetMaxSkew() float64
func (*CaptchaReq) ProtoMessage ¶
func (*CaptchaReq) ProtoMessage()
func (*CaptchaReq) ProtoReflect ¶
func (x *CaptchaReq) ProtoReflect() protoreflect.Message
func (*CaptchaReq) Reset ¶
func (x *CaptchaReq) Reset()
func (*CaptchaReq) String ¶
func (x *CaptchaReq) String() string
type CaptchaResp ¶
type CaptchaResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *CaptchaRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CaptchaResp) Descriptor
deprecated
func (*CaptchaResp) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaResp.ProtoReflect.Descriptor instead.
func (*CaptchaResp) GetCode ¶
func (x *CaptchaResp) GetCode() int32
func (*CaptchaResp) GetData ¶
func (x *CaptchaResp) GetData() *CaptchaRespData
func (*CaptchaResp) GetMsg ¶
func (x *CaptchaResp) GetMsg() string
func (*CaptchaResp) GetPath ¶
func (x *CaptchaResp) GetPath() string
func (*CaptchaResp) GetRequestID ¶
func (x *CaptchaResp) GetRequestID() string
func (*CaptchaResp) ProtoMessage ¶
func (*CaptchaResp) ProtoMessage()
func (*CaptchaResp) ProtoReflect ¶
func (x *CaptchaResp) ProtoReflect() protoreflect.Message
func (*CaptchaResp) Reset ¶
func (x *CaptchaResp) Reset()
func (*CaptchaResp) String ¶
func (x *CaptchaResp) String() string
type CaptchaRespData ¶
type CaptchaRespData struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Account string `protobuf:"bytes,2,opt,name=Account,proto3" json:"Account,omitempty"` Img string `protobuf:"bytes,3,opt,name=Img,proto3" json:"Img,omitempty"` Content string `protobuf:"bytes,4,opt,name=Content,proto3" json:"Content,omitempty"` // contains filtered or unexported fields }
func (*CaptchaRespData) Descriptor
deprecated
func (*CaptchaRespData) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaRespData.ProtoReflect.Descriptor instead.
func (*CaptchaRespData) GetAccount ¶
func (x *CaptchaRespData) GetAccount() string
func (*CaptchaRespData) GetContent ¶
func (x *CaptchaRespData) GetContent() string
func (*CaptchaRespData) GetImg ¶
func (x *CaptchaRespData) GetImg() string
func (*CaptchaRespData) GetKey ¶
func (x *CaptchaRespData) GetKey() string
func (*CaptchaRespData) ProtoMessage ¶
func (*CaptchaRespData) ProtoMessage()
func (*CaptchaRespData) ProtoReflect ¶
func (x *CaptchaRespData) ProtoReflect() protoreflect.Message
func (*CaptchaRespData) Reset ¶
func (x *CaptchaRespData) Reset()
func (*CaptchaRespData) String ¶
func (x *CaptchaRespData) String() string
type Cc ¶
type Cc struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Cc) Descriptor
deprecated
func (*Cc) ProtoMessage ¶
func (*Cc) ProtoMessage()
func (*Cc) ProtoReflect ¶
func (x *Cc) ProtoReflect() protoreflect.Message
type CheckUploadResultParams ¶
type CheckUploadResultParams struct { RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` // contains filtered or unexported fields }
func (*CheckUploadResultParams) Descriptor
deprecated
func (*CheckUploadResultParams) Descriptor() ([]byte, []int)
Deprecated: Use CheckUploadResultParams.ProtoReflect.Descriptor instead.
func (*CheckUploadResultParams) GetRequestID ¶
func (x *CheckUploadResultParams) GetRequestID() string
func (*CheckUploadResultParams) ProtoMessage ¶
func (*CheckUploadResultParams) ProtoMessage()
func (*CheckUploadResultParams) ProtoReflect ¶
func (x *CheckUploadResultParams) ProtoReflect() protoreflect.Message
func (*CheckUploadResultParams) Reset ¶
func (x *CheckUploadResultParams) Reset()
func (*CheckUploadResultParams) String ¶
func (x *CheckUploadResultParams) String() string
type CheckUploadResultResp ¶
type CheckUploadResultResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *Data `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CheckUploadResultResp) Descriptor
deprecated
func (*CheckUploadResultResp) Descriptor() ([]byte, []int)
Deprecated: Use CheckUploadResultResp.ProtoReflect.Descriptor instead.
func (*CheckUploadResultResp) GetCode ¶
func (x *CheckUploadResultResp) GetCode() int32
func (*CheckUploadResultResp) GetData ¶
func (x *CheckUploadResultResp) GetData() *Data
func (*CheckUploadResultResp) GetMsg ¶
func (x *CheckUploadResultResp) GetMsg() string
func (*CheckUploadResultResp) GetPath ¶
func (x *CheckUploadResultResp) GetPath() string
func (*CheckUploadResultResp) GetRequestID ¶
func (x *CheckUploadResultResp) GetRequestID() string
func (*CheckUploadResultResp) ProtoMessage ¶
func (*CheckUploadResultResp) ProtoMessage()
func (*CheckUploadResultResp) ProtoReflect ¶
func (x *CheckUploadResultResp) ProtoReflect() protoreflect.Message
func (*CheckUploadResultResp) Reset ¶
func (x *CheckUploadResultResp) Reset()
func (*CheckUploadResultResp) String ¶
func (x *CheckUploadResultResp) String() string
type Data ¶
type Data struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
note: 短信服务
func (*Data) Descriptor
deprecated
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type EmsReq ¶
type EmsReq struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` RecipientEmail []string `protobuf:"bytes,2,rep,name=recipient_email,json=recipientEmail,proto3" json:"recipient_email,omitempty"` Cc []*Cc `protobuf:"bytes,3,rep,name=cc,proto3" json:"cc,omitempty"` Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` SendType string `protobuf:"bytes,5,opt,name=send_type,json=sendType,proto3" json:"send_type,omitempty"` SendBody string `protobuf:"bytes,6,opt,name=send_body,json=sendBody,proto3" json:"send_body,omitempty"` // contains filtered or unexported fields }
func (*EmsReq) Descriptor
deprecated
func (*EmsReq) GetRecipientEmail ¶
func (*EmsReq) GetSendBody ¶
func (*EmsReq) GetSendType ¶
func (*EmsReq) GetSubject ¶
func (*EmsReq) ProtoMessage ¶
func (*EmsReq) ProtoMessage()
func (*EmsReq) ProtoReflect ¶
func (x *EmsReq) ProtoReflect() protoreflect.Message
type EmsResp ¶
type EmsResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *Data `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*EmsResp) Descriptor
deprecated
func (*EmsResp) GetRequestID ¶
func (*EmsResp) ProtoMessage ¶
func (*EmsResp) ProtoMessage()
func (*EmsResp) ProtoReflect ¶
func (x *EmsResp) ProtoReflect() protoreflect.Message
type GenerateUploadSignParams ¶
type GenerateUploadSignParams struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` // 要上传的文件名 UploadDir string `protobuf:"bytes,3,opt,name=uploadDir,proto3" json:"uploadDir,omitempty"` // 上传到哪个文件夹 IsCallBack bool `protobuf:"varint,4,opt,name=isCallBack,proto3" json:"isCallBack,omitempty"` // 是否回调 CallBack string `protobuf:"bytes,5,opt,name=callBack,proto3" json:"callBack,omitempty"` // 回调地址 // contains filtered or unexported fields }
note: 云存储服务
func (*GenerateUploadSignParams) Descriptor
deprecated
func (*GenerateUploadSignParams) Descriptor() ([]byte, []int)
Deprecated: Use GenerateUploadSignParams.ProtoReflect.Descriptor instead.
func (*GenerateUploadSignParams) GetCallBack ¶
func (x *GenerateUploadSignParams) GetCallBack() string
func (*GenerateUploadSignParams) GetFilename ¶
func (x *GenerateUploadSignParams) GetFilename() string
func (*GenerateUploadSignParams) GetIsCallBack ¶
func (x *GenerateUploadSignParams) GetIsCallBack() bool
func (*GenerateUploadSignParams) GetKey ¶
func (x *GenerateUploadSignParams) GetKey() string
func (*GenerateUploadSignParams) GetUploadDir ¶
func (x *GenerateUploadSignParams) GetUploadDir() string
func (*GenerateUploadSignParams) ProtoMessage ¶
func (*GenerateUploadSignParams) ProtoMessage()
func (*GenerateUploadSignParams) ProtoReflect ¶
func (x *GenerateUploadSignParams) ProtoReflect() protoreflect.Message
func (*GenerateUploadSignParams) Reset ¶
func (x *GenerateUploadSignParams) Reset()
func (*GenerateUploadSignParams) String ¶
func (x *GenerateUploadSignParams) String() string
type GenerateUploadSignParamsResp ¶
type GenerateUploadSignParamsResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *GenerateUploadSignParamsRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GenerateUploadSignParamsResp) Descriptor
deprecated
func (*GenerateUploadSignParamsResp) Descriptor() ([]byte, []int)
Deprecated: Use GenerateUploadSignParamsResp.ProtoReflect.Descriptor instead.
func (*GenerateUploadSignParamsResp) GetCode ¶
func (x *GenerateUploadSignParamsResp) GetCode() int32
func (*GenerateUploadSignParamsResp) GetData ¶
func (x *GenerateUploadSignParamsResp) GetData() *GenerateUploadSignParamsRespData
func (*GenerateUploadSignParamsResp) GetMsg ¶
func (x *GenerateUploadSignParamsResp) GetMsg() string
func (*GenerateUploadSignParamsResp) GetPath ¶
func (x *GenerateUploadSignParamsResp) GetPath() string
func (*GenerateUploadSignParamsResp) GetRequestID ¶
func (x *GenerateUploadSignParamsResp) GetRequestID() string
func (*GenerateUploadSignParamsResp) ProtoMessage ¶
func (*GenerateUploadSignParamsResp) ProtoMessage()
func (*GenerateUploadSignParamsResp) ProtoReflect ¶
func (x *GenerateUploadSignParamsResp) ProtoReflect() protoreflect.Message
func (*GenerateUploadSignParamsResp) Reset ¶
func (x *GenerateUploadSignParamsResp) Reset()
func (*GenerateUploadSignParamsResp) String ¶
func (x *GenerateUploadSignParamsResp) String() string
type GenerateUploadSignParamsRespData ¶
type GenerateUploadSignParamsRespData struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` OSSAccessKeyId string `protobuf:"bytes,2,opt,name=OSSAccessKeyId,proto3" json:"OSSAccessKeyId,omitempty"` Policy string `protobuf:"bytes,3,opt,name=Policy,proto3" json:"Policy,omitempty"` Signature string `protobuf:"bytes,4,opt,name=Signature,proto3" json:"Signature,omitempty"` Callback string `protobuf:"bytes,5,opt,name=Callback,proto3" json:"Callback,omitempty"` IsCallback bool `protobuf:"varint,6,opt,name=IsCallback,proto3" json:"IsCallback,omitempty"` Host string `protobuf:"bytes,7,opt,name=Host,proto3" json:"Host,omitempty"` Domain string `protobuf:"bytes,8,opt,name=Domain,proto3" json:"Domain,omitempty"` // contains filtered or unexported fields }
func (*GenerateUploadSignParamsRespData) Descriptor
deprecated
func (*GenerateUploadSignParamsRespData) Descriptor() ([]byte, []int)
Deprecated: Use GenerateUploadSignParamsRespData.ProtoReflect.Descriptor instead.
func (*GenerateUploadSignParamsRespData) GetCallback ¶
func (x *GenerateUploadSignParamsRespData) GetCallback() string
func (*GenerateUploadSignParamsRespData) GetDomain ¶
func (x *GenerateUploadSignParamsRespData) GetDomain() string
func (*GenerateUploadSignParamsRespData) GetHost ¶
func (x *GenerateUploadSignParamsRespData) GetHost() string
func (*GenerateUploadSignParamsRespData) GetIsCallback ¶
func (x *GenerateUploadSignParamsRespData) GetIsCallback() bool
func (*GenerateUploadSignParamsRespData) GetKey ¶
func (x *GenerateUploadSignParamsRespData) GetKey() string
func (*GenerateUploadSignParamsRespData) GetOSSAccessKeyId ¶
func (x *GenerateUploadSignParamsRespData) GetOSSAccessKeyId() string
func (*GenerateUploadSignParamsRespData) GetPolicy ¶
func (x *GenerateUploadSignParamsRespData) GetPolicy() string
func (*GenerateUploadSignParamsRespData) GetSignature ¶
func (x *GenerateUploadSignParamsRespData) GetSignature() string
func (*GenerateUploadSignParamsRespData) ProtoMessage ¶
func (*GenerateUploadSignParamsRespData) ProtoMessage()
func (*GenerateUploadSignParamsRespData) ProtoReflect ¶
func (x *GenerateUploadSignParamsRespData) ProtoReflect() protoreflect.Message
func (*GenerateUploadSignParamsRespData) Reset ¶
func (x *GenerateUploadSignParamsRespData) Reset()
func (*GenerateUploadSignParamsRespData) String ¶
func (x *GenerateUploadSignParamsRespData) String() string
type MixRpcServiceClient ¶ added in v0.0.51
type MixRpcServiceClient interface { // note: 短信服务 SendSms(ctx context.Context, in *SmsParams, opts ...grpc.CallOption) (*SmsResp, error) CheckSms(ctx context.Context, in *SmsSearchParams, opts ...grpc.CallOption) (*SmsResp, error) // note: 邮件服务 CheckEmsRpc(ctx context.Context, in *EmsReq, opts ...grpc.CallOption) (*EmsResp, error) SendEmsRpc(ctx context.Context, in *EmsReq, opts ...grpc.CallOption) (*EmsResp, error) // note: 云存储服务 GenerateUploadSign(ctx context.Context, in *GenerateUploadSignParams, opts ...grpc.CallOption) (*GenerateUploadSignParamsResp, error) CheckUploadResult(ctx context.Context, in *CheckUploadResultParams, opts ...grpc.CallOption) (*CheckUploadResultResp, error) Callback(ctx context.Context, in *CallbackParams, opts ...grpc.CallOption) (*CallbackResp, error) // note: 验证码服务 CaptchaGenerate(ctx context.Context, in *CaptchaReq, opts ...grpc.CallOption) (*CaptchaResp, error) }
MixRpcServiceClient is the client API for MixRpcService 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 NewMixRpcServiceClient ¶ added in v0.0.51
func NewMixRpcServiceClient(cc grpc.ClientConnInterface) MixRpcServiceClient
type MixRpcServiceServer ¶ added in v0.0.51
type MixRpcServiceServer interface { // note: 短信服务 SendSms(context.Context, *SmsParams) (*SmsResp, error) CheckSms(context.Context, *SmsSearchParams) (*SmsResp, error) // note: 邮件服务 CheckEmsRpc(context.Context, *EmsReq) (*EmsResp, error) SendEmsRpc(context.Context, *EmsReq) (*EmsResp, error) // note: 云存储服务 GenerateUploadSign(context.Context, *GenerateUploadSignParams) (*GenerateUploadSignParamsResp, error) CheckUploadResult(context.Context, *CheckUploadResultParams) (*CheckUploadResultResp, error) Callback(context.Context, *CallbackParams) (*CallbackResp, error) // note: 验证码服务 CaptchaGenerate(context.Context, *CaptchaReq) (*CaptchaResp, error) // contains filtered or unexported methods }
MixRpcServiceServer is the server API for MixRpcService service. All implementations must embed UnimplementedMixRpcServiceServer for forward compatibility
type SmsParams ¶
type SmsParams struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"` //接受方手机号 Params []string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"` //模板参数 // contains filtered or unexported fields }
func (*SmsParams) Descriptor
deprecated
func (*SmsParams) ProtoMessage ¶
func (*SmsParams) ProtoMessage()
func (*SmsParams) ProtoReflect ¶
func (x *SmsParams) ProtoReflect() protoreflect.Message
type SmsResp ¶
type SmsResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *Data `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SmsResp) Descriptor
deprecated
func (*SmsResp) GetRequestID ¶
func (*SmsResp) ProtoMessage ¶
func (*SmsResp) ProtoMessage()
func (*SmsResp) ProtoReflect ¶
func (x *SmsResp) ProtoReflect() protoreflect.Message
type SmsSearchParams ¶
type SmsSearchParams struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"` //接受方手机号 RequestId string `protobuf:"bytes,3,opt,name=requestId,proto3" json:"requestId,omitempty"` // 任务编号 // contains filtered or unexported fields }
func (*SmsSearchParams) Descriptor
deprecated
func (*SmsSearchParams) Descriptor() ([]byte, []int)
Deprecated: Use SmsSearchParams.ProtoReflect.Descriptor instead.
func (*SmsSearchParams) GetKey ¶
func (x *SmsSearchParams) GetKey() string
func (*SmsSearchParams) GetMobile ¶
func (x *SmsSearchParams) GetMobile() string
func (*SmsSearchParams) GetRequestId ¶
func (x *SmsSearchParams) GetRequestId() string
func (*SmsSearchParams) ProtoMessage ¶
func (*SmsSearchParams) ProtoMessage()
func (*SmsSearchParams) ProtoReflect ¶
func (x *SmsSearchParams) ProtoReflect() protoreflect.Message
func (*SmsSearchParams) Reset ¶
func (x *SmsSearchParams) Reset()
func (*SmsSearchParams) String ¶
func (x *SmsSearchParams) String() string
type UnimplementedMixRpcServiceServer ¶ added in v0.0.51
type UnimplementedMixRpcServiceServer struct { }
UnimplementedMixRpcServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMixRpcServiceServer) Callback ¶ added in v0.0.51
func (UnimplementedMixRpcServiceServer) Callback(context.Context, *CallbackParams) (*CallbackResp, error)
func (UnimplementedMixRpcServiceServer) CaptchaGenerate ¶ added in v0.0.51
func (UnimplementedMixRpcServiceServer) CaptchaGenerate(context.Context, *CaptchaReq) (*CaptchaResp, error)
func (UnimplementedMixRpcServiceServer) CheckEmsRpc ¶ added in v0.0.51
func (UnimplementedMixRpcServiceServer) CheckSms ¶ added in v0.0.51
func (UnimplementedMixRpcServiceServer) CheckSms(context.Context, *SmsSearchParams) (*SmsResp, error)
func (UnimplementedMixRpcServiceServer) CheckUploadResult ¶ added in v0.0.51
func (UnimplementedMixRpcServiceServer) CheckUploadResult(context.Context, *CheckUploadResultParams) (*CheckUploadResultResp, error)
func (UnimplementedMixRpcServiceServer) GenerateUploadSign ¶ added in v0.0.51
func (UnimplementedMixRpcServiceServer) GenerateUploadSign(context.Context, *GenerateUploadSignParams) (*GenerateUploadSignParamsResp, error)
func (UnimplementedMixRpcServiceServer) SendEmsRpc ¶ added in v0.0.51
type UnsafeMixRpcServiceServer ¶ added in v0.0.51
type UnsafeMixRpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMixRpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MixRpcServiceServer will result in compilation errors.