Documentation ¶
Index ¶
- func GetArticles(ctx *context.Context)
- func GetCategoryArticles(ctx *context.Context)
- func GetTagArticles(ctx *context.Context)
- func GetTagTopics(ctx *context.Context)
- func GetTags(ctx *context.Context)
- func GetTopics(ctx *context.Context)
- func GetUserArticles(ctx *context.Context)
- func GetUserFavorites(ctx *context.Context)
- func GetUserMessages(ctx *context.Context)
- func GetUserTags(ctx *context.Context)
- func GetUserTopics(ctx *context.Context)
- type ArticleController
- func (this *ArticleController) GetBaidu() *simple.JsonResult
- func (this *ArticleController) GetBy(articleId int64)
- func (this *ArticleController) GetCreate()
- func (this *ArticleController) GetEditBy(articleId int64)
- func (this *ArticleController) GetRedirectBy(articleId int64)
- func (this *ArticleController) PostCreate() *simple.JsonResult
- func (this *ArticleController) PostDeleteBy(articleId int64) *simple.JsonResult
- func (this *ArticleController) PostEdit() *simple.JsonResult
- func (this *ArticleController) PostFavoriteBy(articleId int64) *simple.JsonResult
- func (this *ArticleController) PostWxpublish() *simple.JsonResult
- type CategoryController
- type CommentController
- type IndexController
- type OauthClientController
- type OauthServerController
- type TagController
- type TopicController
- func (this *TopicController) GetBy(topicId int64)
- func (this *TopicController) GetCreate()
- func (this *TopicController) GetEditBy(topicId int64)
- func (this *TopicController) PostCreate() *simple.JsonResult
- func (this *TopicController) PostEditBy(topicId int64) *simple.JsonResult
- func (this *TopicController) PostFavoriteBy(topicId int64) *simple.JsonResult
- type UploadController
- type UserController
- func (this *UserController) AnySignout()
- func (this *UserController) GetBy(userId int64)
- func (this *UserController) GetCurrent() *simple.JsonResult
- func (this *UserController) GetEditBy(userId int64)
- func (this *UserController) GetGithubBind()
- func (this *UserController) GetGithubCallback()
- func (this *UserController) GetGithubLogin()
- func (this *UserController) GetMsgcount() *simple.JsonResult
- func (this *UserController) GetSignin()
- func (this *UserController) GetSignup()
- func (this *UserController) PostEditBy(userId int64)
- func (this *UserController) PostGithubBind()
- func (this *UserController) PostSignin()
- func (this *UserController) PostSignup()
- type UserTagController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArticleController ¶
func (*ArticleController) GetBaidu ¶
func (this *ArticleController) GetBaidu() *simple.JsonResult
提交百度网址
func (*ArticleController) GetEditBy ¶
func (this *ArticleController) GetEditBy(articleId int64)
编辑文章页面
func (*ArticleController) GetRedirectBy ¶
func (this *ArticleController) GetRedirectBy(articleId int64)
跳转到文章的原始链接
func (*ArticleController) PostCreate ¶
func (this *ArticleController) PostCreate() *simple.JsonResult
创建文章
func (*ArticleController) PostDeleteBy ¶
func (this *ArticleController) PostDeleteBy(articleId int64) *simple.JsonResult
删除文章
func (*ArticleController) PostEdit ¶
func (this *ArticleController) PostEdit() *simple.JsonResult
编辑文章
func (*ArticleController) PostFavoriteBy ¶
func (this *ArticleController) PostFavoriteBy(articleId int64) *simple.JsonResult
收藏文章
func (*ArticleController) PostWxpublish ¶
func (this *ArticleController) PostWxpublish() *simple.JsonResult
微信采集发布接口
type CategoryController ¶
type CommentController ¶
func (*CommentController) GetList ¶
func (this *CommentController) GetList() *simple.JsonResult
func (*CommentController) PostCreate ¶
func (this *CommentController) PostCreate() *simple.JsonResult
type IndexController ¶
func (*IndexController) Any ¶
func (this *IndexController) Any() mvc.View
func (*IndexController) GetAbout ¶
func (this *IndexController) GetAbout() mvc.View
type OauthClientController ¶
func (*OauthClientController) AnyRefresh ¶
func (c *OauthClientController) AnyRefresh() *simple.JsonResult
AnyRefresh 通过refreshToken重新换取accessToken
type OauthServerController ¶
func (*OauthServerController) AnyAuthorize ¶
func (c *OauthServerController) AnyAuthorize()
请求授权,返回code
func (*OauthServerController) AnyUserinfo ¶
func (c *OauthServerController) AnyUserinfo() *simple.JsonResult
获取用户信息
type TagController ¶
func (*TagController) GetUsertags ¶
func (this *TagController) GetUsertags() *simple.JsonResult
用户标签列表
func (*TagController) PostAutocomplete ¶
func (this *TagController) PostAutocomplete() *simple.JsonResult
type TopicController ¶
func (*TopicController) GetBy ¶
func (this *TopicController) GetBy(topicId int64)
func (*TopicController) GetCreate ¶
func (this *TopicController) GetCreate()
func (*TopicController) GetEditBy ¶
func (this *TopicController) GetEditBy(topicId int64)
func (*TopicController) PostCreate ¶
func (this *TopicController) PostCreate() *simple.JsonResult
func (*TopicController) PostEditBy ¶
func (this *TopicController) PostEditBy(topicId int64) *simple.JsonResult
func (*TopicController) PostFavoriteBy ¶
func (this *TopicController) PostFavoriteBy(topicId int64) *simple.JsonResult
收藏
type UploadController ¶
func (*UploadController) Post ¶
func (this *UploadController) Post() *simple.JsonResult
func (*UploadController) PostFetch ¶
func (this *UploadController) PostFetch()
type UserController ¶
func (*UserController) GetCurrent ¶
func (this *UserController) GetCurrent() *simple.JsonResult
当前登录用户
func (*UserController) GetGithubCallback ¶
func (this *UserController) GetGithubCallback()
Github回调地址
func (*UserController) GetMsgcount ¶
func (this *UserController) GetMsgcount() *simple.JsonResult
未读消息数量
type UserTagController ¶
Click to show internal directories.
Click to hide internal directories.