http

package
v0.0.0-...-c496799 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ContentTypeKey = "Content-Type"
View Source
const UserAgentKey = "User-Agent"

Variables

This section is empty.

Functions

func Do

func Do(ctx context.Context, method, url string, options map[string]string) (*http.Response, error)

func DoPost

func DoPost(ctx context.Context, me *net.Entity, url string) (*http.Response, error)

func Encode

func Encode(values map[string][]string) string

Encode encodes the values into “URL encoded” form ("bar=baz&foo=quux") sorted by key.

func Execute

func Execute(ctx context.Context, request *http.Request) (*http.Response, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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