article

package
v0.0.0-...-eb64f0e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArticleByID

func ArticleByID(this *server.Context) error

ArticleByID return article by articleID.

func CreateArticle

func CreateArticle(this *server.Context) error

CreateArticle - insert article.

func CreateTag

func CreateTag(this *server.Context) error

func Delete

func Delete(this *server.Context) error

Delete delete article.

func GetByAuthorID

func GetByAuthorID(c *server.Context) error

GetByAuthorID

func GetByTag

func GetByTag(c *server.Context) error

GetByTag get article by tag.

func ListApproval

func ListApproval(this *server.Context) error

ListApproval returns the articles which are passed.

func ListCreated

func ListCreated(this *server.Context) error

ListCreated return articles which are waiting for checking.

func ListTags

func ListTags(this *server.Context) error

ListTags list all tags.

func ModifyArticle

func ModifyArticle(this *server.Context) error

ModifyArticle modify article.

func ModifyStatus

func ModifyStatus(this *server.Context) error

ModifyStatus modify the article status.

func ModifyTag

func ModifyTag(this *server.Context) error

Modify update a specific tag.

func TagActiveList

func TagActiveList(this *server.Context) error

TagActiveList returns all active tags.

func TagInfo

func TagInfo(this *server.Context) error

TagInfo return the tag's information by id.

func UpdateView

func UpdateView(this *server.Context) error

UpdateView update article's view.

Types

type Tag

type Tag struct {
	base.Controller
}

Tag - tag associated handlers

Jump to

Keyboard shortcuts

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