fetcher

package
v0.0.0-...-9a41f76 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(url string, timeout int) ([]byte, error)

Get get请求

func GetJson

func GetJson(url string, parameter []byte, timeout int) ([]byte, error)

GetJson application/json get 请求

func PostJson

func PostJson(url, parameter string, timeout int) ([]byte, error)

PostJson application/json post 请求

func PostString

func PostString(url, parameter string, timeout int) ([]byte, error)

PostString application/x-www-form-urlencoded 请求

Types

This section is empty.

Jump to

Keyboard shortcuts

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