Removed all code related to install (#892)

This commit is contained in:
RoyUP9
2022-03-15 16:41:42 +02:00
committed by GitHub
parent d844d6eb04
commit edbe4ab00b
45 changed files with 307 additions and 1839 deletions

View File

@@ -1,16 +1,13 @@
package routes
import (
"github.com/up9inc/mizu/agent/pkg/controllers"
"github.com/up9inc/mizu/agent/pkg/middlewares"
"github.com/gin-gonic/gin"
"github.com/up9inc/mizu/agent/pkg/controllers"
)
// EntriesRoutes defines the group of har entries routes.
func EntriesRoutes(ginApp *gin.Engine) {
routeGroup := ginApp.Group("/entries")
routeGroup.Use(middlewares.RequiresAuth())
routeGroup.GET("/", controllers.GetEntries) // get entries (base/thin entries) and metadata
routeGroup.GET("/:id", controllers.GetEntry) // get single (full) entry