two/internal/api/agent
GnomeZworc 63a288f69e
f-21: refactor: add dispatcher layer for MQTT migration
Introduce internal/dispatcher package with a Command interface and typed
commands (CreateVPC, DeleteVPC, CreateSubnet, DeleteSubnet). The API
handlers now call dispatcher.Dispatch() instead of enqueuing closures
directly, decoupling transport (HTTP today, MQTT tomorrow) from execution.

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-04-21 23:36:33 +02:00
..
models.go f-21: code: separate and create route fonction 2026-04-21 23:36:32 +02:00
server.go f-21: refactor: add dispatcher layer for MQTT migration 2026-04-21 23:36:33 +02:00
subnet.go f-21: refactor: add dispatcher layer for MQTT migration 2026-04-21 23:36:33 +02:00
subnets.go f-21: refactor: add dispatcher layer for MQTT migration 2026-04-21 23:36:33 +02:00
vpc.go f-21: refactor: add dispatcher layer for MQTT migration 2026-04-21 23:36:33 +02:00
vpcs.go f-21: refactor: add dispatcher layer for MQTT migration 2026-04-21 23:36:33 +02:00