v2

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 3 Imported by: 0

README

aliyun sms

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmsClient

type SmsClient struct {
	// contains filtered or unexported fields
}

func NewSmsClient

func NewSmsClient(keyId, keySecret, templateCode string) *SmsClient

func (*SmsClient) DebugMode

func (s *SmsClient) DebugMode() *SmsClient

func (*SmsClient) Send

func (s *SmsClient) Send(phone string, payload map[string]interface{}) error

func (*SmsClient) SetDomain

func (s *SmsClient) SetDomain(domain string) *SmsClient

func (*SmsClient) SetRegionId

func (s *SmsClient) SetRegionId(regionId string) *SmsClient

func (*SmsClient) SetSignName

func (s *SmsClient) SetSignName(signName string) *SmsClient

func (*SmsClient) SetTemplateCode

func (s *SmsClient) SetTemplateCode(code string) *SmsClient

Jump to

Keyboard shortcuts

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