session

package
v0.0.0-...-66bd6c2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: AGPL-3.0 Imports: 4 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) error

Jump to

Keyboard shortcuts

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