cherryHttp

package
v1.3.12 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultTimeout = 5 * time.Second
)

Functions

func AddParams added in v1.1.22

func AddParams(httpURL string, params url.Values) string

func GET

func GET(httpURL string, values ...map[string]string) ([]byte, *http.Response, error)

func POST

func POST(httpURL string, values map[string]string) ([]byte, *http.Response, error)

func PostJSON

func PostJSON(httpURL string, values interface{}) ([]byte, *http.Response, error)

func ToUrlValues

func ToUrlValues(values map[string]string) url.Values

Types

This section is empty.

Jump to

Keyboard shortcuts

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