cookie

package
v1.0.46 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CookieAppSessionID  = "MinifluxAppSessionID"
	CookieUserSessionID = "MinifluxUserSessionID"
)

Cookie names.

Variables

This section is empty.

Functions

func Expired

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

Expired returns an expired cookie.

func New

func New(name, value string, isHTTPS bool, path string) *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