sms

package
v1.3.26 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: Apache-2.0 Imports: 10 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 {
	// contains filtered or unexported fields
}

func NewAliyunSms

func NewAliyunSms(client *dysmsapi20170525.Client, config *openapi.Config, signature string) *AliyunSMS

func (*AliyunSMS) Close

func (m *AliyunSMS) Close()

func (*AliyunSMS) GetClient

func (m *AliyunSMS) GetClient() *dysmsapi20170525.Client

GetClient 暴露原生client

func (*AliyunSMS) Send

func (m *AliyunSMS) Send(phones []string, templateId string, params map[string]string) error

func (*AliyunSMS) Setup

func (*AliyunSMS) Setup() error

func (*AliyunSMS) String

func (*AliyunSMS) String() string

type TencentCloudSMS

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

func NewTencentSms

func NewTencentSms(client *sms.Client, credential *common.Credential, cpf *profile.ClientProfile, appId, signature, region string) *TencentCloudSMS

func (*TencentCloudSMS) Close

func (m *TencentCloudSMS) Close()

func (*TencentCloudSMS) GetClient

func (m *TencentCloudSMS) GetClient() *sms.Client

GetClient 暴露原生client

func (*TencentCloudSMS) Send

func (m *TencentCloudSMS) Send(phones []string, templateId string, params map[string]string) error

func (*TencentCloudSMS) Setup

func (*TencentCloudSMS) Setup() error

func (*TencentCloudSMS) String

func (*TencentCloudSMS) String() string

Jump to

Keyboard shortcuts

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