requesth

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New is a wrapper around NewWithConext.

func NewWithContext

func NewWithContext(ctx context.Context, method, url string, body io.Reader) (*http.Request, error)

NewWithContext is a wrapper around http.NewRequestWithContext that modifies the request by adding additional headers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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