Documentation ¶
Index ¶
- Variables
- func DbAuth(user string, password string) bool
- func RecordLoginUser(username string, password string) (bool, error)
- func VerifyUser(user string, pass string, service string) bool
- type ErrorController
- type IndexController
- func (this *IndexController) Get()
- func (this *IndexController) GetUser()
- func (this *IndexController) Index()
- func (this *IndexController) IndexDetail()
- func (this *IndexController) Login()
- func (this *IndexController) LoginPage()
- func (this *IndexController) OutLogin()
- func (this *IndexController) Shortcut()
- func (this *IndexController) WebTty()
Constants ¶
This section is empty.
Variables ¶
View Source
var LockUserAuth util.Lock
Functions ¶
func RecordLoginUser ¶
登录后用户记录到数据库 2018-01-19 17:06
Types ¶
type ErrorController ¶
type ErrorController struct {
beego.Controller
}
func (*ErrorController) Error400 ¶
func (c *ErrorController) Error400()
func (*ErrorController) Error403 ¶
func (c *ErrorController) Error403()
func (*ErrorController) Error404 ¶
func (c *ErrorController) Error404()
func (*ErrorController) Error500 ¶
func (c *ErrorController) Error500()
func (*ErrorController) Error503 ¶
func (c *ErrorController) Error503()
type IndexController ¶
type IndexController struct {
beego.Controller
}
func (*IndexController) Get ¶
func (this *IndexController) Get()
@Title create @Description create object @Param body body models.Object true "The object content" @Success 302 {string} models.Object.Id @Failure 403 body is empty @router / [get]
func (*IndexController) IndexDetail ¶
func (this *IndexController) IndexDetail()
首页获取集群详细数据 @router /index/detail/hi(.*) [get]
func (*IndexController) LoginPage ¶
func (this *IndexController) LoginPage()
Click to show internal directories.
Click to hide internal directories.