http

package
v0.0.0-...-7540414 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPGet

func HTTPGet(uri string) ([]byte, error)

HTTPGet get 请求

func HTTPGetStruct

func HTTPGetStruct(result interface{}, furl string, a ...interface{}) error

func HttpsGet

func HttpsGet(client *http.Client, url string) ([]byte, error)

https get

func HttpsPost

func HttpsPost(theUrl string, data interface{}, result interface{}) error

func HttpsPostForm

func HttpsPostForm(theUrl string, params map[string]string, result interface{}) error

func Post

func Post(theUrl string, data interface{}, result interface{}) error

func PostByForm

func PostByForm(theUrl string, params map[string]string, result interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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