httpclient

package
v0.0.0-...-fab16b2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(url string) (*http.Response, error)

Get issues the standard http.Get request but with a custom User-Agent header

func GetJSON

func GetJSON(url string, v interface{}) error

GetJSON combines fetching and decoding JSON from the supplied url

Types

This section is empty.

Jump to

Keyboard shortcuts

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