Documentation ¶ Index ¶ type AliyunSMS func (ali *AliyunSMS) SendSms(phoneNumber, signName, templateCode, templateParam string) error type Mock func (m Mock) SendSms(phoneNumber, signName, templateCode, templateParam string) error type Sms func NewAliyunSms(accessKeyId, accessKeySecret string) Sms func NewMock() Sms Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type AliyunSMS ¶ type AliyunSMS struct { *dysmsapi20170525.Client } func (*AliyunSMS) SendSms ¶ func (ali *AliyunSMS) SendSms(phoneNumber, signName, templateCode, templateParam string) error type Mock ¶ type Mock struct { } func (Mock) SendSms ¶ func (m Mock) SendSms(phoneNumber, signName, templateCode, templateParam string) error type Sms ¶ type Sms interface { SendSms(phoneNumber, signName, templateCode, templateParam string) error } func NewAliyunSms ¶ func NewAliyunSms(accessKeyId, accessKeySecret string) Sms func NewMock ¶ func NewMock() Sms Source Files ¶ View all Source files aliyun.go interface.go mock.go Click to show internal directories. Click to hide internal directories.