model

package
v0.0.0-...-f8dc1f9 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	SID    string
	UserID uint32
}

Session is cookie-based session relation

func (*Session) RegenerateSessionID

func (s *Session) RegenerateSessionID()

RegenerateSessionID regenerates session ID

func (*Session) Save

func (s *Session) Save(c echo.Context) error

Save stores session data onto redis & cookie

Jump to

Keyboard shortcuts

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