mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-10-03 10:42:00 +08:00
Add ListSchedulerEntries API endpoint
This commit is contained in:
2
main.go
2
main.go
@@ -87,6 +87,8 @@ func main() {
|
||||
newListRetryTasksHandlerFunc(inspector)).Methods("GET")
|
||||
api.HandleFunc("/queues/{qname}/dead_tasks",
|
||||
newListDeadTasksHandlerFunc(inspector)).Methods("GET")
|
||||
api.HandleFunc("/scheduler_entries",
|
||||
newListSchedulerEntriesHandlerFunc(inspector)).Methods("GET")
|
||||
|
||||
fs := &staticFileServer{staticPath: "ui/build", indexPath: "index.html"}
|
||||
router.PathPrefix("/").Handler(fs)
|
||||
|
Reference in New Issue
Block a user