Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
NewHandler wraps h to produce metrics on the default engine for every request received and every response sent.
func NewHandlerWith ¶
NewHandlerWith wraps h to produce metrics on eng for every request received and every response sent.
func NewTransport ¶
func NewTransport(t http.RoundTripper) http.RoundTripper
NewTransport wraps t to produce metrics on the default engine for every request sent and every response received.
func NewTransportWith ¶
func NewTransportWith(eng *stats.Engine, t http.RoundTripper) http.RoundTripper
NewTransportWith wraps t to produce metrics on eng for every request sent and every response received.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.