chore(internal/controller): split command processor from pipes as an individual module

This commit is contained in:
NanamiAdmin committed 2026-08-06 17:53:53 +08:00
1 parent 10c3727b01
commit 30ed0bd9ec
7 files changed
+356 -461

No files matched your search

-6
View File
@@ -31,12 +31,6 @@ type Controller interface {
SendExecuteResult(serverName, serverUUID, command, result string) error
}
// CommandController extends Controller for bidirectional channels (QQ, Telegram).
type CommandController interface {
Controller
HandleCommand(cmd Command) (response string, err error)
}
// Manager manages all controller instances and routes events.
type Manager struct {
mu sync.RWMutex