aliyun

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const EndpointFormat = "JSON"
View Source
const EndpointMethod = "SendSms"
View Source
const EndpointRegionId = "cn-hangzhou"
View Source
const EndpointSignatureMethod = "HMAC-SHA1"
View Source
const EndpointSignatureVersion = "1.0"
View Source
const EndpointUrl = "http://dysmsapi.aliyuncs.com"
View Source
const EndpointVersion = "2017-05-25"
View Source
const NAME = "aliyun"
View Source
const OK = "OK"

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

type Gateway struct {
	AccessKeyId     string
	AccessKeySecret string
	SignName        string
}

func (*Gateway) GetName

func (g *Gateway) GetName() string

func (*Gateway) Send

type Response

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

Response https://help.aliyun.com/document_detail/419273.htm?spm=a2c4g.11186623.0.0.4a0879bebUrJyq#api-detail-40

Jump to

Keyboard shortcuts

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