auth

package module
v0.0.0-...-4e282ff Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2014 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
	beego.Controller
	Sess session.SessionStore
}

func (*BaseController) Session

func (self *BaseController) Session()

type User

type User struct {
	Username string

	Is_anonymous     bool
	Is_autenthicated bool
	Last_login       string
	Perms            []string
	// contains filtered or unexported fields
}

func (*User) Anonymous

func (self *User) Anonymous()

func (*User) Login

func (self *User) Login(w http.ResponseWriter, r *http.Request) bool

Jump to

Keyboard shortcuts

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