cms

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct{}

*

  • Base *
  • @create 2022-6-19
  • @author deatil

func (*Base) Theme

func (this *Base) Theme(tpl string) string

主题

func (*Base) View

func (this *Base) View(ctx *fiber.Ctx, tpl string, info fiber.Map) error

视图

type Cate

type Cate struct {
	Base
}

*

  • 分类 *
  • @create 2022-6-19
  • @author deatil

func (*Cate) Index

func (this *Cate) Index(ctx *fiber.Ctx) error

详情

type Index

type Index struct {
	Base
}

*

  • 首页 *
  • @create 2022-6-19
  • @author deatil

func (*Index) Index

func (this *Index) Index(ctx *fiber.Ctx) error

type Page

type Page struct {
	Base
}

*

  • 单页 *
  • @create 2022-6-19
  • @author deatil

func (*Page) Index

func (this *Page) Index(ctx *fiber.Ctx) error

详情

type Tag

type Tag struct {
	Base
}

*

  • 标签文章列表 *
  • @create 2022-6-19
  • @author deatil

func (*Tag) Index

func (this *Tag) Index(ctx *fiber.Ctx) error

type View

type View struct {
	Base
}

*

  • 详情 *
  • @create 2022-6-19
  • @author deatil

func (*View) Index

func (this *View) Index(ctx *fiber.Ctx) error

Jump to

Keyboard shortcuts

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