routers

package
v0.0.0-...-cd27406 Latest Latest
Warning

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

Go to latest
Published: May 25, 2014 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package routers implemented controller methods of beego.

Index

Constants

This section is empty.

Variables

View Source
var (
	AppVer    string
	IsProMode bool
	IsBeta    bool
)
View Source
var (
	RockPros []*hv.PkgInfo
)

Functions

func ConvertDataFormat

func ConvertDataFormat(pdoc *hv.Package, pdecl *models.PkgDecl) error

ConvertDataFormat converts data from database acceptable format to useable format.

func FlushCache

func FlushCache()

func InitRouter

func InitRouter()

Types

type AboutRouter

type AboutRouter struct {
	// contains filtered or unexported fields
}

AboutRouter serves about pages.

func (*AboutRouter) Get

func (this *AboutRouter) Get()

Get implemented Get method for AboutRouter.

func (*AboutRouter) Prepare

func (this *AboutRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type ApiRouter

type ApiRouter struct {
	// contains filtered or unexported fields
}

ApiRouter serves API service.

func (*ApiRouter) Badge

func (this *ApiRouter) Badge()

Badge redirector.

func (*ApiRouter) Docs

func (this *ApiRouter) Docs()

func (*ApiRouter) PkgInfo

func (this *ApiRouter) PkgInfo()

func (*ApiRouter) Prepare

func (this *ApiRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

func (*ApiRouter) Refresh

func (this *ApiRouter) Refresh()

func (*ApiRouter) Search

func (this *ApiRouter) Search()

type ExamplesRouter

type ExamplesRouter struct {
	// contains filtered or unexported fields
}

ExamplesRouter serves examples pages.

func (*ExamplesRouter) Get

func (this *ExamplesRouter) Get()

Get implemented Get method for ExamplesRouter.

func (*ExamplesRouter) Prepare

func (this *ExamplesRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type FuncsRouter

type FuncsRouter struct {
	// contains filtered or unexported fields
}

FuncsRouter serves AJAX function code API page.

func (*FuncsRouter) Get

func (this *FuncsRouter) Get()

Get implemented Get method for FuncsRouter.

func (*FuncsRouter) Prepare

func (this *FuncsRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type HomeRouter

type HomeRouter struct {
	// contains filtered or unexported fields
}

HomeRouter serves home page.

func (*HomeRouter) Get

func (this *HomeRouter) Get()

Get implemented Get method for HomeRouter.

func (*HomeRouter) Prepare

func (this *HomeRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type IndexRouter

type IndexRouter struct {
	// contains filtered or unexported fields
}

IndexRouter serves index pages.

func (*IndexRouter) Get

func (this *IndexRouter) Get()

Get implemented Get method for IndexRouter.

func (*IndexRouter) Prepare

func (this *IndexRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type RefreshRouter

type RefreshRouter struct {
	// contains filtered or unexported fields
}

RefreshRouter serves search pages.

func (*RefreshRouter) Get

func (this *RefreshRouter) Get()

Get implemented Get method for RefreshRouter.

func (*RefreshRouter) Prepare

func (this *RefreshRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type RobotRouter

type RobotRouter struct {
	beego.Controller
}

RobotRouter implemented global settings for all other routers.

func (*RobotRouter) Get

func (this *RobotRouter) Get()

Get implemented Prepare method for RobotRouter.

type SearchRouter

type SearchRouter struct {
	// contains filtered or unexported fields
}

SearchRouter serves search pages.

func (*SearchRouter) Get

func (this *SearchRouter) Get()

Get implemented Get method for SearchRouter.

func (*SearchRouter) Prepare

func (this *SearchRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

Jump to

Keyboard shortcuts

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