session

package
v0.0.0-...-d22e7c3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 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