Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContentType_PlainText = mime.TypeTextPlain ContentType_Json = mime.TypeApplicationJson ContentType_JavaScript = mime.TypeApplicationJavascript ContentType_HtmlPage = mime.TypeTextHtml ContentType_CssStyle = mime.TypeTextCss )
View Source
const (
ErrFDuplicateCookie = "duplicate cookie: %s"
)
Variables ¶
This section is empty.
Functions ¶
func SetCookie ¶
func SetCookie(rw http.ResponseWriter, cookie *http.Cookie)
SetCookie sets a cookie. Unfortunately, Go language is so ugly that it does not allow to check whether the specified cookie is already set or not.
func UnsetCookie ¶
func UnsetCookie(rw http.ResponseWriter, cookie *http.Cookie)
UnsetCookie unsets a cookie.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.