smssdk

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmsConf

type SmsConf struct {
	SecretId  string
	SecretKey string
	Provider  string
	Region    string
}

func (SmsConf) NewAliyunClient added in v1.1.0

func (t SmsConf) NewAliyunClient() (client *dysmsapi20170525.Client, err error)

func (SmsConf) NewTencentClient

func (t SmsConf) NewTencentClient() *sms.Client

func (SmsConf) NewUniClient added in v1.1.2

func (t SmsConf) NewUniClient() (client *unisms.UniSMSClient, err error)

type SmsGroup

type SmsGroup struct {
	TencentSmsClient *sms.Client
	AliyunSmsClient  *dysmsapi20170525.Client
	UniSmsClient     *unisms.UniSMSClient
}

Jump to

Keyboard shortcuts

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