home

package
v0.0.0-...-d402f94 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Elk map[interface{}]interface{}
View Source
var Site = setting.Config.Site

Functions

This section is empty.

Types

type About

type About struct {
	Controller
}

func (*About) Index

func (about *About) Index(c *gin.Context)

type Article

type Article struct {
	Controller
}

func (*Article) Archive

func (b *Article) Archive(c *gin.Context)

Archive 归档

func (*Article) Category

func (b *Article) Category(c *gin.Context)

Category 分类

func (*Article) Detail

func (b *Article) Detail(c *gin.Context)

Detail 详情

func (*Article) Index

func (b *Article) Index(c *gin.Context)

Index 首页

func (*Article) Likes

func (b *Article) Likes(c *gin.Context)

Likes 点赞

func (*Article) Search

func (b *Article) Search(c *gin.Context)

Search 搜索

type Base

type Base struct {
	Controller
}

func (*Base) Menu

func (base *Base) Menu()

type Category

type Category struct {
	Controller
}

func (*Category) Index

func (category *Category) Index(c *gin.Context)

type Comment

type Comment struct {
	Controller
}

func (*Comment) Add

func (m *Comment) Add(c *gin.Context)

Add 新增

func (*Comment) Destory

func (m *Comment) Destory(c *gin.Context)

Destory 删除

func (*Comment) List

func (m *Comment) List(c *gin.Context)

List 列表

type Controller

type Controller struct {
	Data map[interface{}]interface{}
	// contains filtered or unexported fields
}

func (*Controller) Init

func (ctrl *Controller) Init(this ControllerInterface) error

func (*Controller) Menu

func (ctrl *Controller) Menu()

type ControllerInterface

type ControllerInterface interface {
	// contains filtered or unexported methods
}

type Index

type Index struct {
	Controller
}

func (*Index) GetVerify

func (index *Index) GetVerify(c *gin.Context)

GetVerify 获取验证码

func (*Index) Index

func (index *Index) Index(c *gin.Context)

func (*Index) Test

func (index *Index) Test(c *gin.Context)

type Message

type Message struct {
	Controller
}

func (*Message) Add

func (message *Message) Add(c *gin.Context)

Add 新增留言

func (*Message) Index

func (message *Message) Index(c *gin.Context)

Index 留言首页

type Tags

type Tags struct {
	Controller
}

func (*Tags) Index

func (tags *Tags) Index(c *gin.Context)

type Writer

type Writer struct {
	Controller
}

func (*Writer) Index

func (w *Writer) Index(c *gin.Context)

Index 首页

Jump to

Keyboard shortcuts

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