cookie

package
v0.6.19 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearCookie

func ClearCookie(w http.ResponseWriter, r *http.Request)

ClearCookie get rid of the existing cookie

func Cookie(r *http.Request) (string, error)

Cookie get the vouch jwt cookie

func SetCookie

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

SetCookie http

func SplitCookie added in v0.6.0

func SplitCookie(longString string, maxLen int) []string

SplitCookie separate string into several strings of specified length

Types

This section is empty.

Jump to

Keyboard shortcuts

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