Documentation ¶
Index ¶
- func WithAssessKey(accessKeyId string, accessKeySecret string) option
- func WithConnectTimeout(connectTimeout int) option
- func WithPhone(phone string) option
- func WithSignName(signName string) option
- func WithTemplateCode(templateCode string) option
- func WithTemplateParam(templateParam string) option
- type SendResult
- type Sms
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAssessKey ¶
func WithConnectTimeout ¶
func WithConnectTimeout(connectTimeout int) option
func WithSignName ¶
func WithSignName(signName string) option
func WithTemplateCode ¶
func WithTemplateCode(templateCode string) option
func WithTemplateParam ¶
func WithTemplateParam(templateParam string) option
Types ¶
type SendResult ¶ added in v0.4.4
type SendResult struct {
*dysmsapi20170525.SendSmsResponse
}
type Sms ¶
type Sms struct { alibaba.Alibaba Sms struct { SignName string // 短信签名名称 TemplateCode string // 短信模板ID TemplateParam string // 短信模板变量对应的实际值,JSON格式 ConnectTimeout int // 连接超时时间 } // contains filtered or unexported fields }
func (*Sms) CreateClient ¶
func (*Sms) SendResult ¶ added in v0.4.4
func (s *Sms) SendResult() *SendResult
Click to show internal directories.
Click to hide internal directories.