Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResponseWriterTee ¶
type ResponseWriterTee struct {
Buffer bytes.Buffer
StatusCode int
// contains filtered or unexported fields
}
ResponseWriterTee captures input to an http.ResponseWriter
func (*ResponseWriterTee) Header ¶
func (w *ResponseWriterTee) Header() http.Header
Header proxies http.ResponseWriter Header
func (*ResponseWriterTee) Write ¶
func (w *ResponseWriterTee) Write(b []byte) (int, error)
Write proxies http.ResponseWriter Write
func (*ResponseWriterTee) WriteHeader ¶
func (w *ResponseWriterTee) WriteHeader(statusCode int)
WriteHeader proxies http.ResponseWriter WriteHeader
Click to show internal directories.
Click to hide internal directories.