cookie

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cookie interface {
	Get(name string) string
	Set(name string, value any, expiration time.Duration)
	Destroy(name string)
}

func New

func New(
	req *http.Request,
	res http.ResponseWriter,
	path string,
) Cookie

Jump to

Keyboard shortcuts

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