routers

package
v0.0.0-...-b2cb109 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2014 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Secret        = "leC3E56ETF8o-RatYNrieyw_BEYbsnr605wt7PQzt31_t"
	ConsoleDomain = "http://localhost:8080"
)

Variables

View Source
var (
	AppVer string
	IsPro  bool
)
View Source
var (
	CompressConfPath = "conf/compress.json"
)

Functions

func DocsStatic

func DocsStatic(ctx *context.Context)

func InitApp

func InitApp()

func Page_not_found

func Page_not_found(rw http.ResponseWriter, r *http.Request)

Types

type AboutRouter

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

func (*AboutRouter) Get

func (this *AboutRouter) Get()

func (*AboutRouter) Prepare

func (this *AboutRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type BlogRouter

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

BlogRouter serves about page.

func (*BlogRouter) Get

func (this *BlogRouter) Get()

Get implemented Get method for BlogRouter.

func (*BlogRouter) Prepare

func (this *BlogRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type CommunityRouter

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

CommunityRouter serves community page.

func (*CommunityRouter) Get

func (this *CommunityRouter) Get()

Get implemented Get method for CommunityRouter.

func (*CommunityRouter) Prepare

func (this *CommunityRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type DashboardRouter

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

DocsRouter serves about page.

func (*DashboardRouter) Get

func (this *DashboardRouter) Get()

func (*DashboardRouter) Prepare

func (this *DashboardRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type DocsRouter

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

DocsRouter serves about page.

func (*DocsRouter) Get

func (this *DocsRouter) Get()

Get implemented Get method for DocsRouter.

func (*DocsRouter) Prepare

func (this *DocsRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type DonateRouter

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

DonateRouter serves Donate page.

func (*DonateRouter) Get

func (this *DonateRouter) Get()

Get implemented Get method for DonateRouter.

func (*DonateRouter) Prepare

func (this *DonateRouter) 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 LaunchRouter

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

DocsRouter serves about page.

func (*LaunchRouter) Get

func (this *LaunchRouter) Get()

func (*LaunchRouter) Prepare

func (this *LaunchRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type LoginRouter

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

DocsRouter serves about page.

func (*LoginRouter) Get

func (this *LoginRouter) Get()

func (*LoginRouter) Post

func (this *LoginRouter) Post()

func (*LoginRouter) Prepare

func (this *LoginRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type PageRouter

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

func (*PageRouter) Get

func (this *PageRouter) Get()

func (*PageRouter) Prepare

func (this *PageRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type ProductsRouter

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

func (*ProductsRouter) Get

func (this *ProductsRouter) Get()

func (*ProductsRouter) Prepare

func (this *ProductsRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type QuickStartRouter

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

QuickStartRouter serves about page.

func (*QuickStartRouter) Get

func (this *QuickStartRouter) Get()

Get implemented Get method for QuickStartRouter.

func (*QuickStartRouter) Prepare

func (this *QuickStartRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type SamplesRouter

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

SamplesRouter serves about page.

func (*SamplesRouter) Get

func (this *SamplesRouter) Get()

Get implemented Get method for SamplesRouter.

func (*SamplesRouter) Prepare

func (this *SamplesRouter) Prepare()

Prepare implemented Prepare method for baseRouter.

type VideoRouter

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

HomeRouter serves home page.

func (*VideoRouter) Get

func (this *VideoRouter) Get()

Get implemented Get method for VideoRouter.

func (*VideoRouter) Prepare

func (this *VideoRouter) 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