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

11 lines
218 B
Go

package benefactorhandler
import "github.com/labstack/echo/v4"
func (h Handler) SetRoutes(e *echo.Echo) {
r := e.Group("/benefactor")
r.POST("/send-otp", h.SendOtp)
r.POST("/login-register", h.loginOrRegister)
}