Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clear ¶
func Clear(w http.ResponseWriter, r *http.Request, name string)
Clear deletes the cookie with the given name.
func Decode ¶
DecodeStr returns the given signed cookie value if it validates, else returns an empty string.
func DecodeStr ¶
DecodeStr returns the given signed value if it validates, else returns an empty string.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package authcookie implements creation and verification of signed authentication cookies.
|
Package authcookie implements creation and verification of signed authentication cookies. |
Click to show internal directories.
Click to hide internal directories.