admin

package
v0.0.0-...-b1f09d4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAuthCasbin

func CheckAuthCasbin()

func DefaultHandler

func DefaultHandler(c *base.BaseContext) error

func IndexHandler

func IndexHandler(c *base.BaseContext) error

func LoginHandler

func LoginHandler(c *base.BaseContext) error

func LoginPostHandler

func LoginPostHandler(c *base.BaseContext) error

func LogoutHandler

func LogoutHandler(c *base.BaseContext) error

Types

type LoginForm

type LoginForm struct {
	UserName string `form:"username" binding:"required"`
	Password string `form:"password" binding:"required"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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