controllers

package
v0.0.0-...-fff701a Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLogin

func IsLogin(ctx *context.Context) bool

Types

type AboutController

type AboutController struct {
	beego.Controller
}

func (*AboutController) Get

func (c *AboutController) Get()

type ArticleController

type ArticleController struct {
	beego.Controller
}

func (*ArticleController) Add

func (c *ArticleController) Add()

func (*ArticleController) Get

func (c *ArticleController) Get()

func (*ArticleController) Post

func (c *ArticleController) Post()

func (*ArticleController) View

func (c *ArticleController) View()

type CatagoryController

type CatagoryController struct {
	beego.Controller
}

func (*CatagoryController) Get

func (c *CatagoryController) Get()

func (*CatagoryController) Post

func (c *CatagoryController) Post()

type LoginController

type LoginController struct {
	beego.Controller
}

func (*LoginController) Get

func (c *LoginController) Get()

func (*LoginController) Post

func (c *LoginController) Post()

type LogoutController

type LogoutController struct {
	beego.Controller
}

func (*LogoutController) Get

func (c *LogoutController) Get()

type MainController

type MainController struct {
	beego.Controller
}

func (*MainController) Get

func (c *MainController) Get()

type PageItem

type PageItem struct {
	IsCurrent bool
	Current   int
}

type Paginate

type Paginate struct {
	HasPrevious, HasNext       bool
	Previous, Next, TotalPages int
	Items                      [9]*PageItem
}

func CalcPaginate

func CalcPaginate(pageNum, pageCount, maxPages int64) *Paginate

Jump to

Keyboard shortcuts

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