http_tools

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRealAddr

func GetRealAddr(r *http.Request, analyzeHttpHeaders bool) string

func Post added in v0.0.8

func Post(httpClient *http.Client, url, contentType string, body io.Reader) (resp *http.Response, err error)

func Request added in v0.0.8

func Request(httpClient *http.Client, url string, parameters map[string][]byte) (code int, data []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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