Documentation ¶
Index ¶
Constants ¶
View Source
const (
AliAPIServer = "https://sms.aliyuncs.com/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliReqBody ¶
type AliReqBody struct { AccessKeyId string `json:"AccessKeyId" form:"AccessKeyId"` Action string `json:"Action" form:"Action"` SignName string `json:"SignName" form:"SignName"` TemplateCode string `json:"TemplateCode" form:"TemplateCode"` RecNum string `json:"RecNum" form:"RecNum"` ParamString string `json:"ParamString" form:"ParamString"` Format string `json:"Format" form:"Format"` Version string `json:"Version" form:"Version"` Signature string `json:"Signature" form:"Signature"` SignatureMethod string `json:"SignatureMethod" form:"SignatureMethod"` SignatureNonce string `json:"SignatureNonce" form:"SignatureNonce"` SignatureVersion string `json:"SignatureVersion" form:"SignatureVersion"` Timestamp string `json:"Timestamp" form:"Timestamp"` }
type AliSmsClient ¶
type AliSmsClient struct { AccessKeyId string AccessKeySecret string // contains filtered or unexported fields }
func NewAliSmsCli ¶
func NewAliSmsCli(accessKeyId, accessKeySecret string) *AliSmsClient
func (*AliSmsClient) SendSms ¶
func (a *AliSmsClient) SendSms(tmplID string, data interface{}) error
type SaiyouSMS ¶
func NewSaiyouSMS ¶
Click to show internal directories.
Click to hide internal directories.