session

package
v0.0.0-...-f6bba44 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Sessions []Session

Functions

This section is empty.

Types

type Session

type Session struct{}

func NewSession

func NewSession() *Session

func (*Session) AddNewSession

func (s *Session) AddNewSession(s Session) error

func (*Session) GetSession

func (s *Session) GetSession(sessionId string) (*Session, error)

func (*Session) RemoveSession

func (s *Session) RemoveSession(sessionId string) (*Sessions, error)

func (*Session) ViewSession

func (s *Session) ViewSession() (*Sessions, error)

type SessionManager

type SessionManager struct {
	Sessions []*Session
}

func (*SessionManager) ListPermanentSessions

func (sm *SessionManager) ListPermanentSessions() *Sessions

func (*SessionManager) ListSessions

func (sm *SessionManager) ListSessions() *Sessions

Jump to

Keyboard shortcuts

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