Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
func (*Request) MonitorRequest ¶
func (i *Request) MonitorRequest()
type ResponseInterceptor ¶
type ResponseInterceptor struct {
// contains filtered or unexported fields
}
func NewResponseInterceptor ¶
func NewResponseInterceptor(w http.ResponseWriter, monitor monitor.Monitor) *ResponseInterceptor
func (*ResponseInterceptor) Header ¶
func (i *ResponseInterceptor) Header() http.Header
func (*ResponseInterceptor) MonitorAndForwardResponse ¶
func (i *ResponseInterceptor) MonitorAndForwardResponse()
func (*ResponseInterceptor) WriteHeader ¶
func (i *ResponseInterceptor) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.