Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LatencyFuncHandler ¶
func LatencyFuncHandler(resultChan chan int64, methods []string, nextFunc func(http.ResponseWriter, *http.Request)) http.Handler
LatencyFuncHandler is a middleware that measures latency given request handler function.
func LatencyHandler ¶
LatencyHandler is a middleware that measures latency given http.Handler struct.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.