utils

package
v0.0.0-...-34a6313 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPGet

func HTTPGet(host string, param string) (int, []byte, error)

HTTPGet .

func HTTPPost

func HTTPPost(host string, param string) (int, []byte, error)

HTTPPost .

func HTTPRequest

func HTTPRequest(req *http.Request) (int, []byte, error)

HTTPRequest .

func HmacSha1Base64

func HmacSha1Base64(accessSecret []byte, httpMethod string, params [][2]string) (string, error)

HmacSha1Base64 for aliyun sdk

func QueryEscape

func QueryEscape(param string) string

QueryEscape .

Types

This section is empty.

Jump to

Keyboard shortcuts

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