Documentation ¶
Index ¶
- type ArticleController
- func (this *ArticleController) AnyList() *simple.JsonResult
- func (this *ArticleController) GetBy(id int64) *simple.JsonResult
- func (this *ArticleController) PostCollect() *simple.JsonResult
- func (this *ArticleController) PostCreate() *simple.JsonResult
- func (this *ArticleController) PostDelete() *simple.JsonResult
- func (this *ArticleController) PostUpdate() *simple.JsonResult
- type ArticleShareController
- type ArticleTagController
- type CategoryController
- func (this *CategoryController) AnyList() *simple.JsonResult
- func (this *CategoryController) AnyOptions() *simple.JsonResult
- func (this *CategoryController) GetBy(id int64) *simple.JsonResult
- func (this *CategoryController) PostCreate() *simple.JsonResult
- func (this *CategoryController) PostUpdate() *simple.JsonResult
- type CommentController
- type FavoriteController
- type GithubUserController
- type MessageController
- type OauthClientController
- type OauthTokenController
- type TagController
- func (this *TagController) AnyList() *simple.JsonResult
- func (this *TagController) AnyListAll() *simple.JsonResult
- func (this *TagController) GetBy(id int64) *simple.JsonResult
- func (this *TagController) GetCascader() *simple.JsonResult
- func (this *TagController) PostCreate() *simple.JsonResult
- func (this *TagController) PostUpdate() *simple.JsonResult
- type TopicController
- type TopicTagController
- type UserArticleTagController
- type UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleController ¶
type ArticleController struct { Ctx iris.Context ArticleService *services.ArticleService TagService *services.TagService UserService *services.UserService }
func (*ArticleController) AnyList ¶
func (this *ArticleController) AnyList() *simple.JsonResult
func (*ArticleController) GetBy ¶
func (this *ArticleController) GetBy(id int64) *simple.JsonResult
func (*ArticleController) PostCollect ¶
func (this *ArticleController) PostCollect() *simple.JsonResult
func (*ArticleController) PostCreate ¶
func (this *ArticleController) PostCreate() *simple.JsonResult
func (*ArticleController) PostDelete ¶
func (this *ArticleController) PostDelete() *simple.JsonResult
func (*ArticleController) PostUpdate ¶
func (this *ArticleController) PostUpdate() *simple.JsonResult
type ArticleShareController ¶
type ArticleShareController struct {}
func (*ArticleShareController) AnyList ¶
func (this *ArticleShareController) AnyList() *simple.JsonResult
func (*ArticleShareController) GetBy ¶
func (this *ArticleShareController) GetBy(id int64) *simple.JsonResult
func (*ArticleShareController) PostCreate ¶
func (this *ArticleShareController) PostCreate() *simple.JsonResult
func (*ArticleShareController) PostUpdate ¶
func (this *ArticleShareController) PostUpdate() *simple.JsonResult
type ArticleTagController ¶
type ArticleTagController struct { Ctx iris.Context ArticleTagService *services.ArticleTagService }
func (*ArticleTagController) AnyList ¶
func (this *ArticleTagController) AnyList() *simple.JsonResult
func (*ArticleTagController) GetBy ¶
func (this *ArticleTagController) GetBy(id int64) *simple.JsonResult
func (*ArticleTagController) PostCreate ¶
func (this *ArticleTagController) PostCreate() *simple.JsonResult
func (*ArticleTagController) PostUpdate ¶
func (this *ArticleTagController) PostUpdate() *simple.JsonResult
type CategoryController ¶
type CategoryController struct { Ctx iris.Context CategoryService *services.CategoryService }
func (*CategoryController) AnyList ¶
func (this *CategoryController) AnyList() *simple.JsonResult
func (*CategoryController) AnyOptions ¶
func (this *CategoryController) AnyOptions() *simple.JsonResult
options选项
func (*CategoryController) GetBy ¶
func (this *CategoryController) GetBy(id int64) *simple.JsonResult
func (*CategoryController) PostCreate ¶
func (this *CategoryController) PostCreate() *simple.JsonResult
func (*CategoryController) PostUpdate ¶
func (this *CategoryController) PostUpdate() *simple.JsonResult
type CommentController ¶
type CommentController struct { Ctx iris.Context CommentService *services.CommentService }
func (*CommentController) AnyList ¶
func (this *CommentController) AnyList() *simple.JsonResult
func (*CommentController) GetBy ¶
func (this *CommentController) GetBy(id int64) *simple.JsonResult
func (*CommentController) PostCreate ¶
func (this *CommentController) PostCreate() *simple.JsonResult
func (*CommentController) PostUpdate ¶
func (this *CommentController) PostUpdate() *simple.JsonResult
type FavoriteController ¶
type FavoriteController struct { Ctx iris.Context FavoriteService *services.FavoriteService }
func (*FavoriteController) AnyList ¶
func (this *FavoriteController) AnyList() *simple.JsonResult
func (*FavoriteController) GetBy ¶
func (this *FavoriteController) GetBy(id int64) *simple.JsonResult
func (*FavoriteController) PostCreate ¶
func (this *FavoriteController) PostCreate() *simple.JsonResult
func (*FavoriteController) PostUpdate ¶
func (this *FavoriteController) PostUpdate() *simple.JsonResult
type GithubUserController ¶
type GithubUserController struct { Ctx iris.Context GithubUserService *services.GithubUserService }
func (*GithubUserController) AnyList ¶
func (this *GithubUserController) AnyList() *simple.JsonResult
func (*GithubUserController) GetBy ¶
func (this *GithubUserController) GetBy(id int64) *simple.JsonResult
func (*GithubUserController) PostCreate ¶
func (this *GithubUserController) PostCreate() *simple.JsonResult
func (*GithubUserController) PostUpdate ¶
func (this *GithubUserController) PostUpdate() *simple.JsonResult
type MessageController ¶
type MessageController struct { Ctx iris.Context MessageService *services.MessageService }
func (*MessageController) AnyList ¶
func (this *MessageController) AnyList() *simple.JsonResult
func (*MessageController) GetBy ¶
func (this *MessageController) GetBy(id int64) *simple.JsonResult
func (*MessageController) PostCreate ¶
func (this *MessageController) PostCreate() *simple.JsonResult
func (*MessageController) PostUpdate ¶
func (this *MessageController) PostUpdate() *simple.JsonResult
type OauthClientController ¶
type OauthClientController struct { Ctx iris.Context OauthClientService *services.OauthClientService }
func (*OauthClientController) AnyList ¶
func (this *OauthClientController) AnyList() *simple.JsonResult
func (*OauthClientController) GetBy ¶
func (this *OauthClientController) GetBy(id int64) *simple.JsonResult
func (*OauthClientController) PostCreate ¶
func (this *OauthClientController) PostCreate() *simple.JsonResult
func (*OauthClientController) PostUpdate ¶
func (this *OauthClientController) PostUpdate() *simple.JsonResult
type OauthTokenController ¶
type OauthTokenController struct { Ctx iris.Context OauthTokenService *services.OauthTokenService }
func (*OauthTokenController) AnyList ¶
func (this *OauthTokenController) AnyList() *simple.JsonResult
func (*OauthTokenController) GetBy ¶
func (this *OauthTokenController) GetBy(id int64) *simple.JsonResult
type TagController ¶
type TagController struct { Ctx iris.Context TagService *services.TagService CategoryService *services.CategoryService }
func (*TagController) AnyList ¶
func (this *TagController) AnyList() *simple.JsonResult
func (*TagController) AnyListAll ¶
func (this *TagController) AnyListAll() *simple.JsonResult
func (*TagController) GetBy ¶
func (this *TagController) GetBy(id int64) *simple.JsonResult
func (*TagController) GetCascader ¶
func (this *TagController) GetCascader() *simple.JsonResult
标签数据级联选择器
func (*TagController) PostCreate ¶
func (this *TagController) PostCreate() *simple.JsonResult
func (*TagController) PostUpdate ¶
func (this *TagController) PostUpdate() *simple.JsonResult
type TopicController ¶
type TopicController struct { Ctx iris.Context TopicService *services.TopicService }
func (*TopicController) AnyList ¶
func (this *TopicController) AnyList() *simple.JsonResult
func (*TopicController) GetBy ¶
func (this *TopicController) GetBy(id int64) *simple.JsonResult
func (*TopicController) PostCreate ¶
func (this *TopicController) PostCreate() *simple.JsonResult
func (*TopicController) PostUpdate ¶
func (this *TopicController) PostUpdate() *simple.JsonResult
type TopicTagController ¶
type TopicTagController struct { Ctx iris.Context TopicTagService *services.TopicTagService }
func (*TopicTagController) AnyList ¶
func (this *TopicTagController) AnyList() *simple.JsonResult
func (*TopicTagController) GetBy ¶
func (this *TopicTagController) GetBy(id int64) *simple.JsonResult
func (*TopicTagController) PostCreate ¶
func (this *TopicTagController) PostCreate() *simple.JsonResult
func (*TopicTagController) PostUpdate ¶
func (this *TopicTagController) PostUpdate() *simple.JsonResult
type UserArticleTagController ¶
type UserArticleTagController struct { Ctx iris.Context UserArticleTagService *services.UserArticleTagService }
func (*UserArticleTagController) AnyList ¶
func (this *UserArticleTagController) AnyList() *simple.JsonResult
func (*UserArticleTagController) GetBy ¶
func (this *UserArticleTagController) GetBy(id int64) *simple.JsonResult
func (*UserArticleTagController) PostCreate ¶
func (this *UserArticleTagController) PostCreate() *simple.JsonResult
func (*UserArticleTagController) PostUpdate ¶
func (this *UserArticleTagController) PostUpdate() *simple.JsonResult
type UserController ¶
type UserController struct { Ctx iris.Context UserService *services.UserService }
func (*UserController) AnyList ¶
func (this *UserController) AnyList() *simple.JsonResult
func (*UserController) GetBy ¶
func (this *UserController) GetBy(id int64) *simple.JsonResult
func (*UserController) PostCreate ¶
func (this *UserController) PostCreate() *simple.JsonResult
func (*UserController) PostUpdate ¶
func (this *UserController) PostUpdate() *simple.JsonResult
Source Files ¶
- article_controller.go
- article_share_controller.go
- article_tag_controller.go
- category_controller.go
- comment_controller.go
- favorite_controller.go
- github_user_controller.go
- message_controller.go
- oauth_client_controller.go
- oauth_token_controller.go
- tag_controller.go
- topic_controller.go
- topic_tag_controller.go
- user_article_tag_controller.go
- user_controller.go
Click to show internal directories.
Click to hide internal directories.