controller

package
v0.0.0-...-45e8f3b Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func (*Controller) AddArticle

func (*Controller) AddArticle(ctx iris.Context)

添加文章

func (*Controller) AddCategory

func (*Controller) AddCategory(ctx iris.Context)

新增标签

func (*Controller) AddCmnt

func (*Controller) AddCmnt(ctx iris.Context)

发表评论

func (*Controller) AddReply

func (*Controller) AddReply(ctx iris.Context)

发表回复

func (*Controller) AddTag

func (*Controller) AddTag(ctx iris.Context)

新增标签

func (*Controller) BatchDeleteCategory

func (*Controller) BatchDeleteCategory(ctx iris.Context)

批量删除分类

func (*Controller) BatchDeleteTag

func (*Controller) BatchDeleteTag(ctx iris.Context)

批量删除标签

func (*Controller) GetAbout

func (c *Controller) GetAbout(ctx iris.Context)

获取about文章

func (*Controller) GetAdminArticlePage

func (c *Controller) GetAdminArticlePage(ctx iris.Context)

管理页获取文章列表

func (*Controller) GetArticleByCode

func (c *Controller) GetArticleByCode(ctx iris.Context)

用户获取单篇文章

func (*Controller) GetArticleById

func (c *Controller) GetArticleById(ctx iris.Context)

管理获取单篇文章

func (*Controller) GetCategoryPage

func (*Controller) GetCategoryPage(ctx iris.Context)

后台获取分类列表

func (*Controller) GetCmntAndReplyPage

func (*Controller) GetCmntAndReplyPage(ctx iris.Context)

后台获取评论回复列表

func (*Controller) GetCmntPage

func (*Controller) GetCmntPage(ctx iris.Context)

用户获取评论列表

func (*Controller) GetHomeArticlePage

func (c *Controller) GetHomeArticlePage(ctx iris.Context)

获取首页文章列表

func (*Controller) GetQuantaPage

func (*Controller) GetQuantaPage(ctx iris.Context)

后台获取标签列表

func (*Controller) GetReplyPage

func (*Controller) GetReplyPage(ctx iris.Context)

用户获取回复列表

func (*Controller) GetTagPage

func (*Controller) GetTagPage(ctx iris.Context)

后台获取标签列表

func (*Controller) GetTimeline

func (c *Controller) GetTimeline(ctx iris.Context)

获取时间线

func (*Controller) GetUserById

func (c *Controller) GetUserById(ctx iris.Context)

获取单个用户的信息

func (*Controller) GetUserPage

func (c *Controller) GetUserPage(ctx iris.Context)

后台获取用户列表

func (*Controller) GetWebSiteLog

func (c *Controller) GetWebSiteLog(ctx iris.Context)

网站操作记录

func (*Controller) GetWebSiteOption

func (*Controller) GetWebSiteOption(ctx iris.Context)

获取网站信息(作者,背景图,统计...)

func (*Controller) Login

func (c *Controller) Login(ctx iris.Context)

登录注册

func (*Controller) NoFoundHandler

func (c *Controller) NoFoundHandler(ctx iris.Context)

处理请求错误

func (*Controller) UpdateArticle

func (*Controller) UpdateArticle(ctx iris.Context)

修改文章

func (*Controller) UpdateCategory

func (*Controller) UpdateCategory(ctx iris.Context)

更新

func (*Controller) UpdateCmnt

func (*Controller) UpdateCmnt(ctx iris.Context)

修改评论

func (*Controller) UpdateQuanta

func (*Controller) UpdateQuanta(ctx iris.Context)

更新

func (*Controller) UpdateReply

func (*Controller) UpdateReply(ctx iris.Context)

修改回复

func (*Controller) UpdateTag

func (*Controller) UpdateTag(ctx iris.Context)

更新

func (*Controller) UpdateUser

func (c *Controller) UpdateUser(ctx iris.Context)

修改用户

func (*Controller) UpdateWebSiteOption

func (*Controller) UpdateWebSiteOption(ctx iris.Context)

修改网站设置

func (*Controller) UserAction

func (c *Controller) UserAction(ctx iris.Context)

用户动作

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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