cookie

package
v0.0.0-...-81bf7c8 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2019 License: MIT Imports: 8 Imported by: 0

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 oauth2 jwt cookie

func SetCookie

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

SetCookie http

func SplitCookie

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