sms

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 3 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 New

func New(accessKeyId, accessKeySecret string, opts ...Option) *Client

func (*Client) AccessKeyId

func (c *Client) AccessKeyId() string

func (*Client) AccessKeySecret

func (c *Client) AccessKeySecret() string

func (*Client) CanonicalUri

func (c *Client) CanonicalUri() string

func (*Client) Host

func (c *Client) Host() string

func (*Client) Scheme

func (c *Client) Scheme() string

func (*Client) Send

func (c *Client) Send(phoneNumbers, signName, templateCode string, templateParam string) (*Response, error)

func (*Client) XAcsVersion

func (c *Client) XAcsVersion() string

type Config

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

func (Config) AccessKeyId

func (c Config) AccessKeyId() string

func (Config) AccessKeySecret

func (c Config) AccessKeySecret() string

type Option

type Option func(*Client)

type Response

type Response struct {
	Message   string `json:"Message"`
	RequestId string `json:"RequestId"`
	Code      string `json:"Code"`
	BizId     string `json:"BizId"`
}

Jump to

Keyboard shortcuts

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