Documentation ¶
Overview ¶
Package dumper is a utility package for dumping http request contents
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dumper ¶
type Dumper struct { // ResponseWriter is the original response writer http.ResponseWriter // contains filtered or unexported fields }
Dumper is a response writer that captures the response body
func (*Dumper) Flush ¶
func (d *Dumper) Flush()
Flush flushes the response writer if it implements http.Flusher interface and is not nil
func (*Dumper) GetResponse ¶
GetResponse returns the response body out of the buffer
Click to show internal directories.
Click to hide internal directories.