aliyun

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BasicDateFormat  = "2006-01-02T15:04:05Z0700"
	SignatureVersion = "1.0"
	APIVersion       = "2019-01-01"
	SignatureMethod  = "HMAC-SHA1"
)

BasicDateFormat

Variables

This section is empty.

Functions

func CanonicalQueryString

func CanonicalQueryString(query url.Values) string

func ShaHmac1

func ShaHmac1(source, secret string) string

Types

type Signer

type Signer struct {
	Key    string
	Secret string
}

Signer Key and secret

func (*Signer) Sign

func (s *Signer) Sign(r *http.Request) (string, error)

Sign URL

Jump to

Keyboard shortcuts

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