Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAliyunSmsClient ¶ added in v1.4.12
func GetAliyunSmsClient() *dysmsapi20170525.Client
GetAliyunSmsClient 获取smtp客户端
func GetTencentSmsClient ¶ added in v1.4.12
GetTencentSmsClient 获取sms客户端
Types ¶
type AliyunSMS ¶
type AliyunSMS struct {
// contains filtered or unexported fields
}
func NewAliyunSms ¶
func NewAliyunSms(client *dysmsapi20170525.Client, accessId, accessSecret, region, endpoint, signature string) *AliyunSMS
type TencentCloudSMS ¶
type TencentCloudSMS struct {
// contains filtered or unexported fields
}
func NewTencentSms ¶
func NewTencentSms(client *sms.Client, secretId, secretKey, appId, addr, region, alg, signature string) *TencentCloudSMS
func (*TencentCloudSMS) Close ¶
func (m *TencentCloudSMS) Close()
func (*TencentCloudSMS) GetClient ¶
func (m *TencentCloudSMS) GetClient() interface{}
GetClient 暴露原生client
func (*TencentCloudSMS) Setup ¶
func (*TencentCloudSMS) Setup() error
func (*TencentCloudSMS) String ¶
func (*TencentCloudSMS) String() string
Click to show internal directories.
Click to hide internal directories.