Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseWriter ¶
type ResponseWriter struct { StatusCode int http.ResponseWriter }
ResponseWriter with status for http.
func (*ResponseWriter) Status ¶
func (r *ResponseWriter) Status() string
Status of the response, e.g. "200 OK".
func (*ResponseWriter) WriteHeader ¶
func (r *ResponseWriter) WriteHeader(statusCode int)
WriteHeader sends an HTTP response header with the provided status code.
Click to show internal directories.
Click to hide internal directories.