request

package
v0.0.0-...-9e083ad Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestStatistic

type RequestStatistic struct {
	// contains filtered or unexported fields
}

RequestStatistic represents the internal stages of a http request

func TimedHTTPRequest

func TimedHTTPRequest(url string) RequestStatistic

TimedHTTPRequest executes http request via curl and returns breakdown of http stages.

func (RequestStatistic) String

func (requestStatistic RequestStatistic) String() string

type URLRequest

type URLRequest struct {
	URL string
}

URLRequest contains url to request statistics on

Jump to

Keyboard shortcuts

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