session

package
v0.0.0-...-fa3a857 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: ISC Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionManager

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

func New

func New() *SessionManager

func (*SessionManager) GetUser

func (sm *SessionManager) GetUser(ctx context.Context, sessionUuid string) (*models.User, error)

func (*SessionManager) SaveUser

func (sm *SessionManager) SaveUser(ctx context.Context, sessionUuid string, user *models.User, d time.Duration) error

Jump to

Keyboard shortcuts

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