Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth interface { SignIn(request.SignIn) (domain.JWT, *interactor.HTTPError) SignOut(request.SignOut) *interactor.HTTPError Refresh(request.Refresh) (domain.JWT, *interactor.HTTPError) ShowUserInfo(request.ShowUserInfo) (domain.Admin, *interactor.HTTPError) }
An Auth represents a Auth.
type Category ¶
type Category interface { Index(request.IndexCategory) (domain.Categories, interactor.Pagination, *interactor.HTTPError) IndexPrivate(request.IndexCategory) (domain.Categories, interactor.Pagination, *interactor.HTTPError) Show(request.ShowCategoryByName) (domain.Category, *interactor.HTTPError) ShowPrivate(request.ShowCategoryByID) (domain.Category, *interactor.HTTPError) StorePrivate(request.StoreCategory) (domain.Category, *interactor.HTTPError) UpdatePrivate(request.UpdateCategory) (domain.Category, *interactor.HTTPError) DestroyPrivate(request.DestroyCategoryByID) *interactor.HTTPError }
A Category represents a Category.
type Comment ¶
type Comment interface { IndexPrivate(request.IndexComment) (domain.Comments, interactor.Pagination, *interactor.HTTPError) ShowPrivate(request.ShowCommentByID) (domain.Comment, *interactor.HTTPError) Store(request.StoreComment) (domain.Comment, *interactor.HTTPError) UpdateStatusPrivate(request.UpdateCommentStatus) (domain.Comment, *interactor.HTTPError) }
A Comment represents a Comment.
type Post ¶
type Post interface { Index(request.IndexPost) (domain.Posts, interactor.Pagination, *interactor.HTTPError) IndexByKeyword(request.IndexPostByKeyword) (domain.Posts, interactor.Pagination, *interactor.HTTPError) IndexByCategory(request.IndexPostByName) (domain.Posts, interactor.Pagination, *interactor.HTTPError) IndexByTag(request.IndexPostByName) (domain.Posts, interactor.Pagination, *interactor.HTTPError) IndexPrivate(request.IndexPost) (domain.Posts, interactor.Pagination, *interactor.HTTPError) Show(request.ShowPostByTitle) (domain.Post, *interactor.HTTPError) ShowPrivate(request.ShowPostByID) (domain.Post, *interactor.HTTPError) StorePrivate(request.StorePost) (domain.Post, *interactor.HTTPError) UpdatePrivate(request.UpdatePost) (domain.Post, *interactor.HTTPError) DestroyPrivate(request.DestroyPostByID) *interactor.HTTPError }
A Post represents a Post.
type Tag ¶
type Tag interface { Index(request.IndexTag) (domain.Tags, interactor.Pagination, *interactor.HTTPError) IndexPrivate(request.IndexTag) (domain.Tags, interactor.Pagination, *interactor.HTTPError) Show(request.ShowTagByName) (domain.Tag, *interactor.HTTPError) ShowPrivate(request.ShowTagByID) (domain.Tag, *interactor.HTTPError) StorePrivate(request.StoreTag) (domain.Tag, *interactor.HTTPError) UpdatePrivate(request.UpdateTag) (domain.Tag, *interactor.HTTPError) DestroyPrivate(request.DestroyTagByID) *interactor.HTTPError }
A Tag represents a Tag.
Click to show internal directories.
Click to hide internal directories.