Documentation
¶
Overview ¶
Package httpstat provides http trace timings for requests. This implementation is based on https://github.com/davecheney/httpstat
Index ¶
Constants ¶
View Source
const ( HTTPSTemplate = `` + ` DNS Lookup TCP Connection TLS Handshake Server Processing Content Transfer` + "\n" + `[%s | %s | %s | %s | %s ]` + "\n" + ` | | | | |` + "\n" + ` namelookup:%s | | | |` + "\n" + ` connect:%s | | |` + "\n" + ` pretransfer:%s | |` + "\n" + ` starttransfer:%s |` + "\n" + ` total:%s` + "\n" HTTPTemplate = `` + ` DNS Lookup TCP Connection Server Processing Content Transfer` + "\n" + `[ %s | %s | %s | %s ]` + "\n" + ` | | | |` + "\n" + ` namelookup:%s | | |` + "\n" + ` connect:%s | |` + "\n" + ` starttransfer:%s |` + "\n" + ` total:%s` + "\n" )
Define templates for rendering timings.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Name string W io.Writer WErr io.Writer AppName string // contains filtered or unexported fields }
Command ...
func (*Command) Aliases ¶
Aliases are the aliases and name for the command. For instance a command can have a long form and short form.
func (*Command) Description ¶
Description is what is printed in Usage.
Click to show internal directories.
Click to hide internal directories.