Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContentType_TextPlain = mime.TypeTextPlain ContentType_ApplicationJson = mime.TypeApplicationJson )
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.