homelabby/internal/api/handlers
Mikkel Georgsen 9f57cbdf6c feat(04-03): LabelHandler, USBEventsHandler, router wiring, main.go USB+printer init
- LabelHandler: POST /api/labels/:deviceID/print with 1/s rate limit (T-04-09)
- USBEventsHandler: GET /api/usb/events SSE stream, exits on context cancel (T-04-11)
- router.go: two new parameters + routes wired
- main.go: USB Manager started with ctx, MockDriver connected, handlers passed to router
2026-04-10 06:52:52 +00:00
..
health.go feat(01-foundation-01): Go module init, chi server, go:embed SPA scaffold 2026-04-10 01:17:03 +00:00
health_test.go feat(01-foundation-01): Go module init, chi server, go:embed SPA scaffold 2026-04-10 01:17:03 +00:00
intake.go feat(02-03): POST /api/intake handler with orchestrator and NetBox wiring 2026-04-10 05:54:33 +00:00
intake_test.go feat(02-03): POST /api/intake handler with orchestrator and NetBox wiring 2026-04-10 05:54:33 +00:00
inventory.go feat(03-02): InventoryHandler with list+detail endpoints and 7 unit tests 2026-04-10 06:14:43 +00:00
inventory_test.go feat(03-02): InventoryHandler with list+detail endpoints and 7 unit tests 2026-04-10 06:14:43 +00:00
label.go feat(04-03): LabelHandler, USBEventsHandler, router wiring, main.go USB+printer init 2026-04-10 06:52:52 +00:00
label_test.go test(04-03): add failing handler tests for label print and USB SSE (TDD RED) 2026-04-10 06:50:51 +00:00
usb_events.go feat(04-03): LabelHandler, USBEventsHandler, router wiring, main.go USB+printer init 2026-04-10 06:52:52 +00:00