Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultResponseHandler ¶
func DefaultResponseHandler(w http.ResponseWriter, r *http.Request, err error)
DefaultResponseHandler of http
Types ¶
type Handler ¶
type Handler func(w http.ResponseWriter, r *http.Request, err error)
Handler for http
type WrapWriter ¶
type WrapWriter struct { StatusCode int Size int64 http.ResponseWriter // contains filtered or unexported fields }
WrapWriter of response
func (*WrapWriter) WriteHeader ¶
func (ww *WrapWriter) WriteHeader(statusCode int)
WriteHeader for response
Click to show internal directories.
Click to hide internal directories.