sms

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sms

type Sms struct {
	Client *sms.Client
	// contains filtered or unexported fields
}

func NewSms

func NewSms(cliSms *sms.Client, options *SmsOption) (*Sms, error)

func (*Sms) SendSms

func (s *Sms) SendSms(phoneNum, smsCode string) error

发送短信

type SmsOption

type SmsOption struct {
	SecretId   string
	SecretKey  string
	Region     string
	SdkAppId   string
	SignName   string
	TemplateId string
}

Jump to

Keyboard shortcuts

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