Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentDisposition ¶
ContentDisposition constructs a content-disposition header.
func DeleteCookie ¶
func DeleteCookie(w http.ResponseWriter, n string)
DeleteCookie effectively delete a cookie.
func ToHTTPError ¶
ToHTTPError takes an error and returns a best guess of what the corresponding HTTP error should be.
Types ¶
Click to show internal directories.
Click to hide internal directories.