Download internal/httpapi/admin/devcapture/routes.go from a3216/ds2api: direct link, hf CLI and curl.
- Browser
- Download file 194 Bytes
-
https://huggingface.co/spaces/a3216/ds2api/resolve/ce5a019598af8a3a8fa70d3880098df3e850ecd7/internal/httpapi/admin/devcapture/routes.go
- Command line
-
hf download hf://spaces/a3216/ds2api@ce5a019598af8a3a8fa70d3880098df3e850ecd7/internal/httpapi/admin/devcapture/routes.go
-
curl -L -o routes.go https://huggingface.co/spaces/a3216/ds2api/resolve/ce5a019598af8a3a8fa70d3880098df3e850ecd7/internal/httpapi/admin/devcapture/routes.go
194 Bytes
| package devcapture | |
| import "github.com/go-chi/chi/v5" | |
| func RegisterRoutes(r chi.Router, h *Handler) { | |
| r.Get("/dev/captures", h.getDevCaptures) | |
| r.Delete("/dev/captures", h.clearDevCaptures) | |
| } | |