http

package
v0.0.0-...-6e3d487 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckLoginStatusByCookie

func CheckLoginStatusByCookie(sig string) bool

*

  • @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 DeleteSessionById(id int64) (int64, error)

func Duration

func Duration(now, before int64) string

func SelectSessionBySig

func SelectSessionBySig(sig string) *Session

func SelectUserById

func SelectUserById(id int64) *User

func Start

func Start()

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()

Jump to

Keyboard shortcuts

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