httpx

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GETBytes added in v0.0.16

func GETBytes(url string) (body []byte, err error)

func GETJson added in v0.0.16

func GETJson[T any](url string) (T, error)

func GETString added in v0.0.16

func GETString(url string) (string, error)

func GetDefaultUA

func GetDefaultUA() string

func NewGetJsonRequest

func NewGetJsonRequest(url string, body io.Reader) (*http.Request, error)

func SetDefaultUA

func SetDefaultUA(ua string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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