session

package
v1.0.45 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session interface {
	SendEvents(events ...interface{}) error
	PollEvents() ([]interface{}, error)
}

type SessionManager

type SessionManager interface {
	// return id and error
	Start() (string, Session, error)
	Get(id string) (Session, error)
	Destroy(id string) error
}

func NewSessionManager

func NewSessionManager() SessionManager

Jump to

Keyboard shortcuts

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