Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggedResponseWriter ¶
type LoggedResponseWriter interface { http.ResponseWriter Status() int }
LoggedResponseWriter define http.ResponseWriter with Status
func NewLoggedResponseWriter ¶
func NewLoggedResponseWriter(w http.ResponseWriter) LoggedResponseWriter
NewLoggedResponseWriter wraps the provided http.ResponseWriter with Status preserving the support to hijack the connection if supported by the provided http.ResponseWriter.
Click to show internal directories.
Click to hide internal directories.