improved faster backend with input output

This commit is contained in:
2025-03-25 21:45:29 +05:30
parent c906cd8684
commit 6c6ab17203
10 changed files with 426 additions and 169 deletions

View File

@@ -50,6 +50,7 @@ func main() {
http.HandleFunc("/submit", corsMiddleware(loggingMiddleware(h.SubmitHandler)))
http.HandleFunc("/status", corsMiddleware(loggingMiddleware(h.StatusHandler)))
http.HandleFunc("/result", corsMiddleware(loggingMiddleware(h.ResultHandler)))
http.HandleFunc("/queue-stats", corsMiddleware(loggingMiddleware(h.QueueStatsHandler)))
port := ":8080"
log.Printf("Server started at %s", port)