sessions

package
v0.0.0-...-2403d1f Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CookieName = "ddns_sid"
)

Variables

This section is empty.

Functions

func GetUserID

func GetUserID(r *http.Request) (int64, error)

func IsLogined

func IsLogined(r *http.Request) bool

IsLogined ..

func Login

func Login(w http.ResponseWriter, r *http.Request, userid int64) error

Login ...

func Logout

func Logout(w http.ResponseWriter, r *http.Request) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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