httputils

package
v2.3.4 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// 默认超时时间,单位:s
	DEFAULT_TIMEOUT = 5
	MAX_RETRY_CNT   = 3
)

Variables

This section is empty.

Functions

func GET

func GET(customClient *http.Client, url string) (respData []byte, err error)

func POST

func POST(customClient *http.Client, url string, reqObj interface{}) (respData []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