From db7e822dda56d32135eca6d3e3211a50cf93d31a Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 16 Jun 2022 22:09:39 +0200 Subject: feat: Add one more state Add a new state to the worker so it can better report what is happening. Also added a status report in the index page. --- routes/routes.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routes') diff --git a/routes/routes.go b/routes/routes.go index a609019..79264c5 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -29,5 +29,6 @@ func HandleRequests() { r.GET("entries/:id", env.GetEntry) r.POST("entries/:id", env.UpdateEntry) r.DELETE("entries/:id", env.DeleteEntry) + r.GET("jobs/", env.GetJobs) r.Run(":8000") } -- cgit v1.2.3