httputil

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResponseBody added in v0.28.0

func GetResponseBody(client Client, request *http.Request) (_ []byte, retErr error)

GetResponseBody reads and closes the response body.

Types

type Client added in v0.28.0

type Client interface {
	// Do matches http.Client.
	Do(request *http.Request) (*http.Response, error)
}

Client is a client.

Jump to

Keyboard shortcuts

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