Documentation ¶
Index ¶
- type ArticleController
- func (this *ArticleController) GetArticles() *simple.JsonResult
- func (this *ArticleController) GetBy(articleId int64) *simple.JsonResult
- func (this *ArticleController) GetCategoryArticles() *simple.JsonResult
- func (this *ArticleController) GetEditBy(articleId int64) *simple.JsonResult
- func (this *ArticleController) GetRecent() *simple.JsonResult
- func (this *ArticleController) GetRedirectBy(articleId int64) *simple.JsonResult
- func (this *ArticleController) GetRelatedBy(articleId int64) *simple.JsonResult
- func (this *ArticleController) GetTagArticles() *simple.JsonResult
- func (this *ArticleController) GetUserArticles() *simple.JsonResult
- func (this *ArticleController) GetUserNewestBy(userId int64) *simple.JsonResult
- func (this *ArticleController) GetUserRecent() *simple.JsonResult
- func (this *ArticleController) PostCreate() *simple.JsonResult
- func (this *ArticleController) PostDeleteBy(articleId int64) *simple.JsonResult
- func (this *ArticleController) PostEditBy(articleId int64) *simple.JsonResult
- func (this *ArticleController) PostFavoriteBy(articleId int64) *simple.JsonResult
- func (this *ArticleController) PostWxpublish() *simple.JsonResult
- type CategoryController
- type CommentController
- type ConfigController
- type FavoriteController
- type LoginController
- func (this *LoginController) GetGithub() *simple.JsonResult
- func (this *LoginController) GetGithubCallback() *simple.JsonResult
- func (this *LoginController) GetGithubUserBy(githubUserId int64) *simple.JsonResult
- func (this *LoginController) GetSignout() *simple.JsonResult
- func (this *LoginController) PostGithubBind() *simple.JsonResult
- func (this *LoginController) PostSignin() *simple.JsonResult
- type TagController
- func (this *TagController) GetActive() *simple.JsonResult
- func (this *TagController) GetBy(tagId int64) *simple.JsonResult
- func (this *TagController) GetRecommendtags() *simple.JsonResult
- func (this *TagController) GetTags() *simple.JsonResult
- func (this *TagController) PostAutocomplete() *simple.JsonResult
- type TopicController
- func (this *TopicController) GetBy(topicId int64) *simple.JsonResult
- func (this *TopicController) GetEditBy(topicId int64) *simple.JsonResult
- func (this *TopicController) GetFavoriteBy(topicId int64) *simple.JsonResult
- func (this *TopicController) GetGithub() *simple.JsonResult
- func (this *TopicController) GetRecent() *simple.JsonResult
- func (this *TopicController) GetTagTopics() *simple.JsonResult
- func (this *TopicController) GetTopics() *simple.JsonResult
- func (this *TopicController) GetUserRecent() *simple.JsonResult
- func (this *TopicController) GetUserTopics() *simple.JsonResult
- func (this *TopicController) PostCreate() *simple.JsonResult
- func (this *TopicController) PostDeleteBy(topicId int64) *simple.JsonResult
- func (this *TopicController) PostEditBy(topicId int64) *simple.JsonResult
- type UploadController
- type UserController
- func (this *UserController) GetActive() *simple.JsonResult
- func (this *UserController) GetBy(userId int64) *simple.JsonResult
- func (this *UserController) GetCurrent() *simple.JsonResult
- func (this *UserController) GetFavorites() *simple.JsonResult
- func (this *UserController) GetMessages() *simple.JsonResult
- func (this *UserController) GetMsgcount() *simple.JsonResult
- func (this *UserController) PostEditBy(userId int64) *simple.JsonResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleController ¶
func (*ArticleController) GetArticles ¶
func (this *ArticleController) GetArticles() *simple.JsonResult
文章列表
func (*ArticleController) GetBy ¶
func (this *ArticleController) GetBy(articleId int64) *simple.JsonResult
文章详情
func (*ArticleController) GetCategoryArticles ¶
func (this *ArticleController) GetCategoryArticles() *simple.JsonResult
分类文章列表
func (*ArticleController) GetEditBy ¶
func (this *ArticleController) GetEditBy(articleId int64) *simple.JsonResult
编辑时获取详情
func (*ArticleController) GetRecent ¶
func (this *ArticleController) GetRecent() *simple.JsonResult
最近文章
func (*ArticleController) GetRedirectBy ¶
func (this *ArticleController) GetRedirectBy(articleId int64) *simple.JsonResult
文章跳转链接
func (*ArticleController) GetRelatedBy ¶
func (this *ArticleController) GetRelatedBy(articleId int64) *simple.JsonResult
相关文章
func (*ArticleController) GetTagArticles ¶
func (this *ArticleController) GetTagArticles() *simple.JsonResult
标签文章列表
func (*ArticleController) GetUserArticles ¶
func (this *ArticleController) GetUserArticles() *simple.JsonResult
用户文章列表
func (*ArticleController) GetUserNewestBy ¶
func (this *ArticleController) GetUserNewestBy(userId int64) *simple.JsonResult
用户最新的文章
func (*ArticleController) GetUserRecent ¶
func (this *ArticleController) GetUserRecent() *simple.JsonResult
用户最近的文章
func (*ArticleController) PostCreate ¶
func (this *ArticleController) PostCreate() *simple.JsonResult
发表文章
func (*ArticleController) PostDeleteBy ¶
func (this *ArticleController) PostDeleteBy(articleId int64) *simple.JsonResult
删除文章
func (*ArticleController) PostEditBy ¶
func (this *ArticleController) PostEditBy(articleId int64) *simple.JsonResult
编辑文章
func (*ArticleController) PostFavoriteBy ¶
func (this *ArticleController) PostFavoriteBy(articleId int64) *simple.JsonResult
收藏文章
func (*ArticleController) PostWxpublish ¶
func (this *ArticleController) PostWxpublish() *simple.JsonResult
微信采集发布接口
type CategoryController ¶
func (*CategoryController) GetBy ¶
func (this *CategoryController) GetBy(categoryId int64) *simple.JsonResult
type CommentController ¶
func (*CommentController) GetList ¶
func (this *CommentController) GetList() *simple.JsonResult
func (*CommentController) PostCreate ¶
func (this *CommentController) PostCreate() *simple.JsonResult
type ConfigController ¶
func (*ConfigController) GetConfigs ¶
func (this *ConfigController) GetConfigs() *simple.JsonResult
type FavoriteController ¶
func (*FavoriteController) GetDelete ¶
func (this *FavoriteController) GetDelete() *simple.JsonResult
取消收藏
func (*FavoriteController) GetFavorited ¶
func (this *FavoriteController) GetFavorited() *simple.JsonResult
是否收藏了
type LoginController ¶
func (*LoginController) GetGithub ¶
func (this *LoginController) GetGithub() *simple.JsonResult
获取Github授权地址
func (*LoginController) GetGithubCallback ¶
func (this *LoginController) GetGithubCallback() *simple.JsonResult
获取Github回调信息获取
func (*LoginController) GetGithubUserBy ¶
func (this *LoginController) GetGithubUserBy(githubUserId int64) *simple.JsonResult
获取GithubUser
func (*LoginController) GetSignout ¶
func (this *LoginController) GetSignout() *simple.JsonResult
退出登录
func (*LoginController) PostGithubBind ¶
func (this *LoginController) PostGithubBind() *simple.JsonResult
Github绑定
func (*LoginController) PostSignin ¶
func (this *LoginController) PostSignin() *simple.JsonResult
用户名密码登录
type TagController ¶
func (*TagController) GetRecommendtags ¶
func (this *TagController) GetRecommendtags() *simple.JsonResult
推荐标签
func (*TagController) PostAutocomplete ¶
func (this *TagController) PostAutocomplete() *simple.JsonResult
标签自动完成
type TopicController ¶
func (*TopicController) GetBy ¶
func (this *TopicController) GetBy(topicId int64) *simple.JsonResult
帖子详情
func (*TopicController) GetEditBy ¶
func (this *TopicController) GetEditBy(topicId int64) *simple.JsonResult
编辑时获取详情
func (*TopicController) GetFavoriteBy ¶
func (this *TopicController) GetFavoriteBy(topicId int64) *simple.JsonResult
收藏
func (*TopicController) GetGithub ¶
func (this *TopicController) GetGithub() *simple.JsonResult
func (*TopicController) GetRecent ¶
func (this *TopicController) GetRecent() *simple.JsonResult
最新帖子
func (*TopicController) GetTagTopics ¶
func (this *TopicController) GetTagTopics() *simple.JsonResult
标签帖子列表
func (*TopicController) GetTopics ¶
func (this *TopicController) GetTopics() *simple.JsonResult
帖子列表
func (*TopicController) GetUserRecent ¶
func (this *TopicController) GetUserRecent() *simple.JsonResult
用户最近的帖子
func (*TopicController) GetUserTopics ¶
func (this *TopicController) GetUserTopics() *simple.JsonResult
用户帖子列表
func (*TopicController) PostCreate ¶
func (this *TopicController) PostCreate() *simple.JsonResult
发表帖子
func (*TopicController) PostDeleteBy ¶
func (this *TopicController) PostDeleteBy(topicId int64) *simple.JsonResult
删除帖子
func (*TopicController) PostEditBy ¶
func (this *TopicController) PostEditBy(topicId int64) *simple.JsonResult
编辑帖子
type UploadController ¶
func (*UploadController) Post ¶
func (this *UploadController) Post() *simple.JsonResult
type UserController ¶
func (*UserController) GetBy ¶
func (this *UserController) GetBy(userId int64) *simple.JsonResult
用户详情
func (*UserController) GetCurrent ¶
func (this *UserController) GetCurrent() *simple.JsonResult
获取当前登录用户
func (*UserController) GetFavorites ¶
func (this *UserController) GetFavorites() *simple.JsonResult
用户收藏
func (*UserController) GetMessages ¶
func (this *UserController) GetMessages() *simple.JsonResult
用户消息
func (*UserController) GetMsgcount ¶
func (this *UserController) GetMsgcount() *simple.JsonResult
未读消息数量
func (*UserController) PostEditBy ¶
func (this *UserController) PostEditBy(userId int64) *simple.JsonResult
修改用户资料
Click to show internal directories.
Click to hide internal directories.