Add reply endpoint for http (#1168)

This commit is contained in:
gadotroee
2022-06-28 18:39:23 +03:00
committed by GitHub
parent 2bfae1baae
commit 01af6aa19c
7 changed files with 325 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
package routes
import (
"github.com/gin-gonic/gin"
"github.com/up9inc/mizu/agent/pkg/controllers"
)
// ReplayRoutes defines the group of replay routes.
func ReplayRoutes(app *gin.Engine) {
routeGroup := app.Group("/replay")
routeGroup.POST("/", controllers.ReplayRequest)
}