example

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSession

func DeleteSession(rw http.ResponseWriter)

func SaveSession

func SaveSession(rw http.ResponseWriter, data interface{})

Types

type Session

type Session struct {
	UserId   int
	UserName string
}

func GetSession

func GetSession(req *http.Request) *Session

Jump to

Keyboard shortcuts

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