session

package
v0.0.0-...-e31961d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New()

New session repository

Types

type Repository

type Repository struct {
}

Repository struct

func (*Repository) Create

func (r *Repository) Create(ctx context.Context) error

Create a new session

func (*Repository) SaveUserInfo

func (r *Repository) SaveUserInfo(ctx context.Context) error

SaveUserInfo is a special event whether user is a new user login, or user is updating the user information

Jump to

Keyboard shortcuts

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