feat: runtime manager
This commit is contained in:
@@ -63,6 +63,8 @@ func setupRouter(executor handler.CommandExecutor) *gin.Engine {
|
||||
}
|
||||
}
|
||||
|
||||
r.GET("/healthz", handler.HealthzHandler)
|
||||
|
||||
groupV1 := r.Group("/api/v1")
|
||||
|
||||
groupV1.GET("/status", func(ctx *gin.Context) { handler.StatusHandler(ctx, executor) })
|
||||
|
||||
Reference in New Issue
Block a user