middleware

package
v0.0.0-...-1fbbad1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2016 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SESSION_USER_ID = "GoAnt_User_Id"
)

Variables

This section is empty.

Functions

func Contexter

func Contexter() neko.HandlerFunc

Contexter initializes a classic context for a request.

func UnknowPage

func UnknowPage() neko.HandlerFunc

Types

type ContextHelper

type ContextHelper struct {
	User     *models.User
	IsSigned bool
}
var (
	Context *ContextHelper
)

Jump to

Keyboard shortcuts

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