Documentation
¶
Index ¶
- type ArticleRESTRouterGroup
- type RootRouterGroup
- type UserRESTRouterGroup
- func (router *UserRESTRouterGroup) Create(c echo.Context) error
- func (router *UserRESTRouterGroup) Delete(c echo.Context) error
- func (router *UserRESTRouterGroup) Get(c echo.Context) error
- func (router *UserRESTRouterGroup) List(c echo.Context) error
- func (router *UserRESTRouterGroup) Update(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleRESTRouterGroup ¶
type ArticleRESTRouterGroup struct { Group *echo.Group UC *article.ArticleUseCase }
func NewArticleRESTRouterGroup ¶
func NewArticleRESTRouterGroup(r *RootRouterGroup, uc *article.ArticleUseCase) ArticleRESTRouterGroup
func (*ArticleRESTRouterGroup) Create ¶
func (router *ArticleRESTRouterGroup) Create(c echo.Context) error
func (*ArticleRESTRouterGroup) Get ¶
func (router *ArticleRESTRouterGroup) Get(c echo.Context) error
func (*ArticleRESTRouterGroup) List ¶
func (router *ArticleRESTRouterGroup) List(c echo.Context) error
type RootRouterGroup ¶
type RootRouterGroup struct {
Group *echo.Group
}
func NewRootRouterGroup ¶
func NewRootRouterGroup(e *echo.Echo) *RootRouterGroup
type UserRESTRouterGroup ¶
type UserRESTRouterGroup struct { Group *echo.Group UC *user.UserUseCase }
func NewUserRESTRouterGroup ¶
func NewUserRESTRouterGroup(r *RootRouterGroup, uc *user.UserUseCase) UserRESTRouterGroup
func (*UserRESTRouterGroup) Create ¶
func (router *UserRESTRouterGroup) Create(c echo.Context) error
func (*UserRESTRouterGroup) Delete ¶
func (router *UserRESTRouterGroup) Delete(c echo.Context) error
func (*UserRESTRouterGroup) Get ¶
func (router *UserRESTRouterGroup) Get(c echo.Context) error
func (*UserRESTRouterGroup) List ¶
func (router *UserRESTRouterGroup) List(c echo.Context) error
func (*UserRESTRouterGroup) Update ¶
func (router *UserRESTRouterGroup) Update(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.