Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpHandler ¶
type HttpHandler struct { RequestHandlers func(http.Request) ResponseHandlers func(http.Response) MonitorHandlers func(*MonitorMetric) }
func NewHttpHandler ¶
func NewHttpHandler() *HttpHandler
func (*HttpHandler) AddMonitorHandler ¶ added in v0.0.65
func (handler *HttpHandler) AddMonitorHandler(monitorHandler func(*MonitorMetric)) *HttpHandler
func (*HttpHandler) AddRequestHandler ¶
func (handler *HttpHandler) AddRequestHandler(requestHandler func(http.Request)) *HttpHandler
func (*HttpHandler) AddResponseHandler ¶
func (handler *HttpHandler) AddResponseHandler(responseHandler func(response http.Response)) *HttpHandler
Click to show internal directories.
Click to hide internal directories.