Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestResponseWriter ¶
type TestResponseWriter struct { Body bytes.Buffer StatusCode int WroteHeader bool // contains filtered or unexported fields }
func (*TestResponseWriter) Header ¶
func (w *TestResponseWriter) Header() http.Header
func (*TestResponseWriter) WriteHeader ¶
func (w *TestResponseWriter) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.