session

package
v0.0.0-...-10bdaf9 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SessionStore = NewCookieStore()

session yang dipakai

Functions

func Cookie(c *gin.Context) (*sessions.Session, error)

func GetFlashdata

func GetFlashdata(c *gin.Context, name string) []string

func New

func New(r *gin.Engine)

func NewCookieStore

func NewCookieStore() *sessions.CookieStore

dibawah adalah configurasi session

func SetFlashdata

func SetFlashdata(c *gin.Context, name, value string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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