user

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EditPassword

func EditPassword(ctx *macaron.Context)

func IsAdmin

func IsAdmin(sess session.Store) bool

func IsLogin

func IsLogin(sess session.Store) bool

func Login

func Login(ctx *macaron.Context)

func Logout

func Logout(ctx *macaron.Context, sess session.Store)

func Uid

func Uid(sess session.Store) int

func UpdatePassword

func UpdatePassword(ctx *macaron.Context, sess session.Store) string

func Username

func Username(sess session.Store) string

func ValidateLogin

func ValidateLogin(ctx *macaron.Context, sess session.Store, cpt *captcha.Captcha) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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