controllers

package
v0.0.0-...-f9449b2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckLogin

func CheckLogin(username string, password string) (user m.User, err error)

check login

Types

type CommonController

type CommonController struct {
	beego.Controller
}

func (*CommonController) Prepare

func (r *CommonController) Prepare()

type NestPreparer

type NestPreparer interface {
	NestPrepare()
}

type RootController

type RootController struct {
	CommonController
}

func (*RootController) CheckUser

func (r *RootController) CheckUser()

@router /accessuser [post]

func (*RootController) Error

func (r *RootController) Error()

@router /error [get]

func (*RootController) Index

func (r *RootController) Index()

@router / [get]

func (*RootController) Login

func (r *RootController) Login()

@router /login [get]

func (*RootController) LoginOut

func (r *RootController) LoginOut()

@router /loginout [get]

func (*RootController) NotAccess

func (r *RootController) NotAccess()

@router /notaccess [get]

func (*RootController) URLMapping

func (r *RootController) URLMapping()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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