Documentation
¶
Index ¶
- func GetCookie(w http.ResponseWriter, r *http.Request, key string) string
- func LanguageSelect(list ...string) string
- func PermitAnyCORS(w http.ResponseWriter)
- func SetCookie(w http.ResponseWriter, r *http.Request, key string, val string, expiryDays int)
- func SetSessionCookie(w http.ResponseWriter, r *http.Request, key string, val string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LanguageSelect ¶
func PermitAnyCORS ¶
func PermitAnyCORS(w http.ResponseWriter)
Cross-Origin Resource Sharing: permit any :-) useful for debug. this should not be used in product ;D
func SetSessionCookie ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.