controllers

package
v0.0.0-...-0deb007 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmail

func IsEmail(str ...string) bool

邮箱正则

Types

type BaseController

type BaseController struct {
	beego.Controller
	Project *models.Project
	Task    *models.Task
	User    *models.User
}

基类

func (*BaseController) Prepare

func (c *BaseController) Prepare()

Prepare implemented Prepare method for baseRouter.

func (*BaseController) SetJson

func (this *BaseController) SetJson(code int, data interface{}, Msg string)

type ChangePasswdController

type ChangePasswdController struct {
	BaseController
}

func (*ChangePasswdController) Post

func (c *ChangePasswdController) Post()

type LoginByDockerController

type LoginByDockerController struct {
	BaseController
}

func (*LoginByDockerController) Get

func (c *LoginByDockerController) Get()

type LoginController

type LoginController struct {
	BaseController
}

func (*LoginController) AddUserFromLdap2Gopub

func (c *LoginController) AddUserFromLdap2Gopub(user ldap.Ldap_user, role_id int16)

func (*LoginController) Post

func (c *LoginController) Post()

type LogoutController

type LogoutController struct {
	BaseController
}

func (*LogoutController) Post

func (c *LogoutController) Post()

type MainController

type MainController struct {
	beego.Controller
}

func (*MainController) Get

func (c *MainController) Get()

type RegisterController

type RegisterController struct {
	BaseController
}

func (*RegisterController) Post

func (c *RegisterController) Post()

type TestApiController

type TestApiController struct {
	beego.Controller
}

func (*TestApiController) Get

func (c *TestApiController) Get()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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