mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-05-17 01:13:47 +08:00
Add Task details view
Allow users to find task by task ID
This commit is contained in:
2
main.go
2
main.go
@@ -197,6 +197,8 @@ func main() {
|
||||
api.HandleFunc("/queues/{qname}/archived_tasks:run_all", newRunAllArchivedTasksHandlerFunc(inspector)).Methods("POST")
|
||||
api.HandleFunc("/queues/{qname}/archived_tasks:batch_run", newBatchRunTasksHandlerFunc(inspector)).Methods("POST")
|
||||
|
||||
api.HandleFunc("/queues/{qname}/tasks/{task_id}", newGetTaskHandlerFunc(inspector)).Methods("GET")
|
||||
|
||||
// Servers endpoints.
|
||||
api.HandleFunc("/servers", newListServersHandlerFunc(inspector)).Methods("GET")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user