session

package
v0.0.0-...-4a985ec Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(maxAge int) *Manager

func (*Manager) Add

func (manager *Manager) Add(w http.ResponseWriter, sid string)

func (*Manager) Check

func (manager *Manager) Check(r *http.Request) bool

func (*Manager) DeleteSID

func (manager *Manager) DeleteSID(w http.ResponseWriter, r *http.Request)

func (*Manager) NewSession

func (manager *Manager) NewSession(sid string) http.Cookie

Jump to

Keyboard shortcuts

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