package
Version:
v0.0.0-...-1373a91
Opens a new window with list of versions in this module.
Published: Dec 15, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Delete(w http.ResponseWriter, name string)
-
func Get(r *http.Request, name string) (*http.Cookie, error)
-
func GetValue(r *http.Request, name string) (string, error)
-
func IsSet(r *http.Request, name string) bool
-
func Set(w http.ResponseWriter, name, value, path string, age int) error
Get deciphers and returns the cookie.
GetValue is like Get but returns only the value.
IsSet returns whether the cookie is set or not.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.