sms

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 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 interface {
	SendSms(*SendSmsRequest) (*SendSmsResponse, error)
	SendSmsWithOptions(*SendSmsRequest, *Option) (*SendSmsResponse, error)
	SendBatchSms(*SendBatchSmsRequest) (*SendBatchSmsResponse, error)
	SendBatchSmsWithOptions(*SendBatchSmsRequest, *Option) (*SendBatchSmsResponse, error)
	QuerySendDetails(*QuerySendDetailsRequest) (*QuerySendDetailsResponse, error)
	QuerySendDetailsWithOptions(*QuerySendDetailsRequest, *Option) (*QuerySendDetailsResponse, error)
}

func New

func New(config *Config) (Client, error)

New 创建新的短信服务客户端 config: 短信服务配置 返回: Client 实例和错误

type ClientEntity

type ClientEntity struct {
	*Config
	// contains filtered or unexported fields
}

func (*ClientEntity) QuerySendDetails

func (s *ClientEntity) QuerySendDetails(request *QuerySendDetailsRequest) (*QuerySendDetailsResponse, error)

QuerySendDetails 查询短信发送详情

func (*ClientEntity) QuerySendDetailsWithOptions

func (s *ClientEntity) QuerySendDetailsWithOptions(request *QuerySendDetailsRequest, runtime *Option) (*QuerySendDetailsResponse, error)

QuerySendDetailsWithOptions 查询短信发送详情(带运行时选项)

func (*ClientEntity) SendBatchSms

func (s *ClientEntity) SendBatchSms(request *SendBatchSmsRequest) (*SendBatchSmsResponse, error)

SendBatchSms 批量发送短信

func (*ClientEntity) SendBatchSmsWithOptions

func (s *ClientEntity) SendBatchSmsWithOptions(request *SendBatchSmsRequest, runtime *Option) (*SendBatchSmsResponse, error)

SendBatchSmsWithOptions 批量发送短信(带运行时选项)

func (*ClientEntity) SendSms

func (s *ClientEntity) SendSms(request *SendSmsRequest) (*SendSmsResponse, error)

SendSms 发送短信

func (*ClientEntity) SendSmsWithOptions

func (s *ClientEntity) SendSmsWithOptions(request *SendSmsRequest, runtime *Option) (*SendSmsResponse, error)

SendSmsWithOptions 发送短信(带运行时选项)

type Config

type Config = models.Config

type Option

type Option = teeUtil.RuntimeOptions

type QuerySendDetailsRequest

type QuerySendDetailsRequest = dysmsapi.QuerySendDetailsRequest

type QuerySendDetailsResponse

type QuerySendDetailsResponse = dysmsapi.QuerySendDetailsResponse

type SendBatchSmsRequest

type SendBatchSmsRequest = dysmsapi.SendBatchSmsRequest

type SendBatchSmsResponse

type SendBatchSmsResponse = dysmsapi.SendBatchSmsResponse

type SendSmsRequest

type SendSmsRequest = dysmsapi.SendSmsRequest

type SendSmsResponse

type SendSmsResponse = dysmsapi.SendSmsResponse

Jump to

Keyboard shortcuts

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