Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResponseWriter ¶
type ResponseWriter struct { http.ResponseWriter // contains filtered or unexported fields }
ResponseWriter wrapper to HTTP response to get the statusCode and response content
func (*ResponseWriter) Header ¶
func (rw *ResponseWriter) Header() http.Header
Header get header info
func (*ResponseWriter) WriteHeader ¶
func (rw *ResponseWriter) WriteHeader(code int)
WriteHeader write header info
Click to show internal directories.
Click to hide internal directories.