Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLoginStatusByCookie ¶
*
- @function name: func CheckLoginStatusByCookie(sig) bool
- @description: This function checks user's login status by value of "sig" cookie.
- @related issues: OWL-127
- @param: sig string
- @return: bool
- @author: Don Hsieh
- @since: 10/15/2015
- @last modified: 10/30/2015
- @called by: func (this *MainController) Index()
- in http/controller.go
func DeleteSessionById ¶
func SelectSessionBySig ¶
func SelectSessionBySig(sig string) *Session
func SelectUserById ¶
func SelectUserById(id int64) *User
Types ¶
type MainController ¶
type MainController struct {
beego.Controller
}
func (*MainController) ConfigReload ¶
func (this *MainController) ConfigReload()
func (*MainController) Event ¶
func (this *MainController) Event()
func (*MainController) Health ¶
func (this *MainController) Health()
func (*MainController) Index ¶
func (this *MainController) Index()
func (*MainController) Solve ¶
func (this *MainController) Solve()
func (*MainController) Version ¶
func (this *MainController) Version()
func (*MainController) Workdir ¶
func (this *MainController) Workdir()
Click to show internal directories.
Click to hide internal directories.