Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegistersRoutes

func RegistersRoutes(g *echo.Group)

注册路由

Types

type Article

type Article struct {
	http2.Common
}

func (*Article) Index

func (c *Article) Index(ctx echo.Context) error

列表页

func (*Article) RegistRoute

func (c *Article) RegistRoute(g *echo.Group)

注册路由

type Index

type Index struct {
	http2.Common
}

后台首页控制器

func (*Index) Index

func (c *Index) Index(ctx echo.Context) error

后台首页

func (*Index) NotFound

func (c *Index) NotFound(ctx echo.Context) error

404页面

func (*Index) RegistRoute

func (c *Index) RegistRoute(g *echo.Group)

注册路由

type Link struct {
	http2.Common
}

func (*Link) Index

func (c *Link) Index(ctx echo.Context) error

友链

func (*Link) RegistRoute

func (c *Link) RegistRoute(g *echo.Group)

注册路由

type List

type List struct {
	http2.Common
}

func (*List) Index

func (c *List) Index(ctx echo.Context) error

列表页

func (*List) RegistRoute

func (c *List) RegistRoute(g *echo.Group)

注册路由

type Page

type Page struct {
	http2.Common
}

func (*Page) Index

func (c *Page) Index(ctx echo.Context) error

单页首页

func (*Page) RegistRoute

func (c *Page) RegistRoute(g *echo.Group)

注册路由

type Search struct {
	http2.Common
}

func (*Search) Index

func (c *Search) Index(ctx echo.Context) error

列表页

func (*Search) RegistRoute

func (c *Search) RegistRoute(g *echo.Group)

注册路由

type Tags

type Tags struct {
	http2.Common
}

func (*Tags) Index

func (c *Tags) Index(ctx echo.Context) error

tags首页

func (*Tags) RegistRoute

func (c *Tags) RegistRoute(g *echo.Group)

注册路由