controllers

package
v0.0.0-...-08303f1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2015 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *logs.BeeLogger

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
	beego.Controller
}

func (*BaseController) SendJson

func (this *BaseController) SendJson(arr []map[string]string)

func (*BaseController) SetPage

func (this *BaseController) SetPage(per int, counts int64) *pagination.Paginator

@Title SetPage @Description 设置分页 @param per int 每页数量 @param counts int64 总数量

type HomeController

type HomeController struct {
	BaseController
}

func (*HomeController) Get

func (this *HomeController) Get()

func (*HomeController) Hot

func (this *HomeController) Hot()

func (*HomeController) My

func (this *HomeController) My()

func (*HomeController) Upload

func (this *HomeController) Upload()

Jump to

Keyboard shortcuts

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