helpers

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 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 DeleteSession

func DeleteSession(c *goa.Context)

func SaveSession

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

Types

type Session

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

func GetSession

func GetSession(c *goa.Context) Session

Jump to

Keyboard shortcuts

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