// Package web serves the dashboard, a single static page that reads the // /api/v1 query endpoints with an API key the viewer enters. package web import ( _ "embed" "net/http" ) //go:embed index.html var index []byte func Handler(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "text/html; charset=utf-8") w.Write(index) }