Files
cybertron/internal/transport/router/houston.go

18 lines
423 B
Go
Raw Normal View History

2024-09-12 02:59:54 +05:30
package router
import (
"cybertron/internal/dependencies"
"github.com/gin-gonic/gin"
)
func HoustonRouter(r *gin.Engine, dep *dependencies.Dependencies) {
hh := dep.Handler.HoustonHandler
houstonRouterGroup := r.Group("/api")
{
houstonRouterGroup.POST("/v1/create", hh.CreateHouston)
houstonRouterGroup.GET("/v1/products", hh.GetProducts)
houstonRouterGroup.GET("/v1/responderTeam", hh.GetResponderTeam)
}
}