service

package
v0.0.0-...-c664c40 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContentMD5

func GetContentMD5(body string) string

func GetSignature

func GetSignature(request *tea.Request, secret string) string

func IsFail

func IsFail(code int) bool

func ToQuery

func ToQuery(filter map[string]interface{}) map[string]string

Types

type Sorter

type Sorter struct {
	Keys []string
	Vals []string
}

Sorter defines the key-value structure for storing the sorted data in signHeader.

func (*Sorter) Len

func (hs *Sorter) Len() int

Len is an additional function for function SignHeader.

func (*Sorter) Less

func (hs *Sorter) Less(i, j int) bool

Less is an additional function for function SignHeader.

func (*Sorter) Sort

func (hs *Sorter) Sort()

Sort is an additional function for function SignHeader.

func (*Sorter) Swap

func (hs *Sorter) Swap(i, j int)

Swap is an additional function for function SignHeader.

Jump to

Keyboard shortcuts

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