request

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(client *http.Client, url string, headers map[string]string) (*http.Client, string, error)

Get wraps the Request function, sends a HTTP GET request, returns the smae client and the html of the content body.

func Request

func Request(client *http.Client, method string, url string, header http.Header) (*http.Client, *http.Response, http.Header, error)

Request is a base function for sending HTTP requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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