cookie

package
v0.0.0-...-b9a8969 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CookieSessionID     = "sessionID"
	CookieUserSessionID = "userSessionID"
)

Cookie names.

Variables

This section is empty.

Functions

func Expired

func Expired(name string, isHTTPS bool) *http.Cookie

Expired returns an expired cookie.

func New

func New(name, value string, isHTTPS bool) *http.Cookie

New creates a new cookie.

Types

This section is empty.

Jump to

Keyboard shortcuts

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