- NewRouter signature extended to accept *handlers.InventoryHandler
- GET /inventory and GET /inventory/{id} registered in /api route group
- main.go constructs handlers.NewInventoryHandler(nbClient) and passes to NewRouter
|
||
|---|---|---|
| .. | ||
| ai | ||
| api | ||
| config | ||
| inventory | ||
| netbox | ||
| queue | ||