two/cmd/agent
GnomeZworc 064b90f5e4
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-19 00:11:59 +02:00
..
main.go f-21: refactor: add dispatcher layer for MQTT migration 2026-04-19 00:11:59 +02:00