niki/delivery/http_server/benefactor/kind_box_req/route.go

16 lines
427 B
Go

package benefactorkindboxreqhandler
import (
"github.com/labstack/echo/v4"
)
func (h Handler) SetRoutes(e *echo.Echo) {
r := e.Group("/benefactor/kindboxreqs")
r.POST("/").Name = "benefactor-addkindboxreq"
r.GET("/:id").Name = "benefactor-get-kindboxreqbyid"
r.GET("/").Name = "benefactor-getallkindboxreq"
r.PUT("/:id").Name = "benefactor-updatekindboxreq"
// r.DELETE("/:id").Name = "benefactor-deletekindreqbox"
}