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
Click to show internal directories.
Click to hide internal directories.