qcloudsms

package
v0.0.0-...-35dc932 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RegionGZ = "ap-guangzhou"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type QcloudSms

type QcloudSms struct {
	SecretId   string
	SecretKey  string
	SmsSign    string
	Region     string
	Appid      string
	VcodeTplId string
	Client     *sms.Client
}

func NewQcloudSms

func NewQcloudSms(secretId string, secretKey string, smsSign string, region string, appid string) *QcloudSms

func (*QcloudSms) SendVcode

func (qs *QcloudSms) SendVcode(vcode string, number string, tplid string) (*sms.SendSmsResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL