sms

package
v1.1.26 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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