Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearCookieAndRedirect ¶
func ClearCookieAndRedirect(w http.ResponseWriter, r *http.Request, redirect string, cookieDomain string)
ClearCookieAndRedirect drop existing cookie for auth
func GetCookieValue ¶
GetCookieValue retrieve cookie value
func SetCookieAndRedirect ¶
func SetCookieAndRedirect(w http.ResponseWriter, r *http.Request, redirect string, cookieDomain string, cookieContent string)
SetCookieAndRedirect defined auth cookie and redirect
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.