Description

TimerMiddleware computes the elapsed time spent during the execution of the wrapped handler. The result is available to the wrapping handlers as request.Env["ELAPSED_TIME"].(*time.Duration), and as request.Env["START_TIME"].(*time.Time)

TimerMiddleware is referenced in 4 repositories

github.com/ant0ine/go-json-rest github.com/colindev/secretary github.com/marconi/boltapi

...