Documentation
¶
Index ¶
Constants ¶
View Source
const ( DYSmsEndPoint = "https://dysmsapi.aliyuncs.com/" SendSms = "SendSms" QuerySms = "QuerySendDetails" DYSmsAPIVersion = "2017-05-25" SmsEndPoint = "https://sms.aliyuncs.com/" SingleSendSms = "SingleSendSms" SmsAPIVersion = "2016-09-27" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) SingleSendSms ¶
func (this *Client) SingleSendSms(args *SingleSendSmsArgs) error
type DYSmsClient ¶
func NewDYSmsClient ¶
func NewDYSmsClient(accessKeyId, accessKeySecret string) *DYSmsClient
func (*DYSmsClient) QuerySms ¶
func (this *DYSmsClient) QuerySms(args *QuerySmsArgs) (*QuerySmsResponse, error)
func (*DYSmsClient) SendSms ¶
func (this *DYSmsClient) SendSms(args *SendSmsArgs) (*SendSmsResponse, error)
type QuerySmsArgs ¶
type QuerySmsResponse ¶
type SendSmsArgs ¶
type SendSmsArgs struct { PhoneNumbers string SignName string TemplateCode string TemplateParam string SmsUpExtendCode string `ArgName:"smsUpExtendCode"` OutId string }
阿里云通信
type SendSmsResponse ¶
Click to show internal directories.
Click to hide internal directories.