Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpError ¶
func HttpError(w http.ResponseWriter, error string, code int)
HttpError is a wrapper around http.Error. It resets the content-encoding field as well.
func SetGzipContentHeader ¶
func SetGzipContentHeader(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.