sessionv1

package
v0.0.0-...-3b7be81 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionV1

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

func NewSessionV1

func NewSessionV1(ctx *context.Context, orm *orm.ORM) (*SessionV1, error)

func (*SessionV1) CreateSession

func (s *SessionV1) CreateSession(id int) (*models.Session, error)

func (*SessionV1) DeleteSession

func (s *SessionV1) DeleteSession(id string) (err error)

func (*SessionV1) GetSession

func (s *SessionV1) GetSession(id string) (data *models.Session, err error)

func (*SessionV1) SessionDeleteHandler

func (s *SessionV1) SessionDeleteHandler(ec echo.Context) (err error)

Jump to

Keyboard shortcuts

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