session

package
v0.0.0-...-d31700d Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cookie = config.Cookie()
View Source
var CookieStore = cookiestore.New(config.Secret())

Functions

func Delete

func Delete(c *goa.Context)

func Save

func Save(c *goa.Context, data Session)

Types

type Session

type Session struct {
	UserId    int
	UserName  string
	LoginTime time.Time
}

func Get

func Get(c *goa.Context) Session

Jump to

Keyboard shortcuts

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