Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CounterHandler ¶
func CounterHandler(w http.ResponseWriter, r *http.Request)
CounterHandler will update a counter each time it's called
func ReportHandler ¶
func ReportHandler(w http.ResponseWriter, r *http.Request)
ReportHandler will emit the current metrics in json format
func TimerHandler ¶
func TimerHandler(w http.ResponseWriter, r *http.Request)
TimerHandler records the duration required to compelete
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.