add base handler and refactor H

This commit is contained in:
2025-10-28 21:38:58 +01:00
parent fb4d31afba
commit c7024d7f4e
7 changed files with 118 additions and 22 deletions
@@ -5,4 +5,6 @@ import "net/http"
func RegisterRoutes(mux *http.ServeMux, handler *Handler) {
mux.HandleFunc("POST /ingest/csv", handler.IngestCSV)
mux.HandleFunc("POST /ingest/excel", handler.IngestExcel)
mux.HandleFunc("GET /data", handler.GetMeteoData)
}