Documentation ¶
Overview ¶
Package routers implemented controller methods of beego.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( AppVer string IsProMode bool IsBeta bool )
var (
RockPros []*hv.PkgInfo
)
Functions ¶
func ConvertDataFormat ¶
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.
type ApiRouter ¶
type ApiRouter struct {
// contains filtered or unexported fields
}
ApiRouter serves API service.
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.
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.
type HomeRouter ¶
type HomeRouter struct {
// contains filtered or unexported fields
}
HomeRouter serves home page.
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.
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.
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.