httpstats

package
Version: v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(h http.Handler) http.Handler

NewHandler wraps h to produce metrics on the default engine for every request received and every response sent.

func NewHandlerWith

func NewHandlerWith(eng *stats.Engine, h http.Handler) http.Handler

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL