http

package
v0.0.0-...-097ec1e Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpClient *http.Client
)

Functions

func Get

func Get(reqUrl string, data map[string]string) ([]byte, error)

func Post

func Post(url string, data []byte) ([]byte, error)

func SGet

func SGet(reqUrl string) ([]byte, error)

func UploadFile

func UploadFile(url string, params map[string]string, nameField, fileName string, file io.Reader) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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