alisms

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 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 Client

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

func NewClient

func NewClient(accessKeyID, accessKeySecret string) (client *Client, err error)

func (Client) AddShortURL

func (c Client) AddShortURL(sourceURL, shortURLName, effectiveDays string) (resp *dysmsapi.AddShortUrlResponse, err error)

创建短链

func (Client) SendSMS

func (c Client) SendSMS(phoneNumbers, signName, templateCode string, templateParam interface{}) (resp *dysmsapi.SendSmsResponse, err error)

发送短信

type TemplateParam

type TemplateParam map[string]string

Jump to

Keyboard shortcuts

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