requests

package module
v0.0.0-...-cae50d7 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: MIT Imports: 5 Imported by: 0

README

build codecov

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultModifer

func DefaultModifer(req *http.Request)

Types

type Modifier

type Modifier func(req *http.Request)

type Request

type Request interface {
	Response() (*http.Response, error)
	BytesResponse() (*response.BytesResponse, error)
}

func NewRequest

func NewRequest(url, method string, body io.Reader, client client.Client, m ...Modifier) Request

Directories

Path Synopsis
mock_client
Package mock_client is a generated GoMock package.
Package mock_client is a generated GoMock package.
Package mock_go_requests is a generated GoMock package.
Package mock_go_requests is a generated GoMock package.

Jump to

Keyboard shortcuts

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