http

package module
v0.0.0-...-59efe9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2025 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCookie

func GetCookie(w http.ResponseWriter, r *http.Request, key string) string

func LanguageSelect

func LanguageSelect(list ...string) string

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 SetCookie

func SetCookie(w http.ResponseWriter, r *http.Request, key string, val string, expiryDays int)

func SetSessionCookie

func SetSessionCookie(w http.ResponseWriter, r *http.Request, key string, val string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL