aliyun

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Types

type AliyunSmsSender

type AliyunSmsSender struct{}

func CreateAliyunSmsSender

func CreateAliyunSmsSender() (*AliyunSmsSender, error)

func (*AliyunSmsSender) CreateClient

func (s *AliyunSmsSender) CreateClient() (*dysmsapi20170525.Client, error)

*

  • 使用AK&SK初始化账号Client
  • @param accessKeyId
  • @param accessKeySecret
  • @return Client
  • @throws Exception

func (*AliyunSmsSender) SendTemplateMessage

func (s *AliyunSmsSender) SendTemplateMessage(dest string, template string, params map[string]string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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