http

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpClients []*http.Client
)

Functions

func Delete

func Delete(req *http.Request, url, data string, headers map[string]string, readBuf []byte) summary.ResStruct

func Get

func Get(req *http.Request, url, data string, headers map[string]string, readBuf []byte) summary.ResStruct

func GetReq added in v1.0.2

func GetReq(url, method, bodydata string, headers map[string]string) (req *http.Request)
func Head(req *http.Request, url, data string, headers map[string]string, readBuf []byte) summary.ResStruct

func Post

func Post(req *http.Request, url, data string, headers map[string]string, readBuf []byte) summary.ResStruct

func Put

func Put(req *http.Request, url, data string, headers map[string]string, readBuf []byte) summary.ResStruct

Types

This section is empty.

Jump to

Keyboard shortcuts

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