rest

package
v0.0.0-...-dbbb3a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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 (*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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL