forked from ebhomengo/niki
1
0
Fork 0
niki/delivery/http_server/admin/kind_box_req/route.go

16 lines
388 B
Go

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