Documentation ¶
Index ¶
- func AddArticle(this *server.Context) error
- func AddCategory(this *server.Context) error
- func AddCollection(this *server.Context) error
- func AddComment(this *server.Context) error
- func AddTag(this *server.Context) error
- func AllCategories(this *server.Context) error
- func CommentInfo(this *server.Context) error
- func DeleteArt(this *server.Context) error
- func DeleteCategory(this *server.Context) error
- func DeleteComment(this *server.Context) error
- func DeleteTag(this *server.Context) error
- func GetByArtID(this *server.Context) error
- func GetByArticle(this *server.Context) error
- func GetByCategoryID(this *server.Context) error
- func GetByTagID(this *server.Context) error
- func GetByUser(this *server.Context) error
- func GetByUserID(this *server.Context) error
- func HistoryMessage(this *server.Context) error
- func ListRecommend(this *server.Context) error
- func ListTags(this *server.Context) error
- func MessageRead(this *server.Context) error
- func Recommend(this *server.Context) error
- func Reply(info ...article.Article) ([]*replyInfo, error)
- func SearchByTitle(this *server.Context) error
- func UnCollection(this *server.Context) error
- func UnreadMessage(this *server.Context) error
- func UpdateCategoryVisit(this *server.Context) error
- func UpdateVisit(this *server.Context) error
- func UserReply(this *server.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllCategories ¶
AllCategories returns all categories.
func CommentInfo ¶
CommentInfo return comment's information.
func DeleteCategory ¶
DeleteCategory delete category.
func GetByArticle ¶
GetByArticle return comments by articleId.
func GetByCategoryID ¶
GetByCategoryID gets articles by CategoryID.
func GetByUserID ¶
GetByUserID - gets articles by userID.
func HistoryMessage ¶
HistoryMessage return the message which is read by userid.
func ListRecommend ¶
ListRecommend return recommended category.
func MessageRead ¶
MessageRead change the status of the message which is read.
func SearchByTitle ¶
SearchByTitle - gets articles by title.
func UnreadMessage ¶
UnreadMessage return the unread message by userid.
func UpdateCategoryVisit ¶
UpdateCategoryVisit updates CategoryVisit.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.