Add sing-box API service

This commit is contained in:
世界
2026-08-30 17:41:41 +08:00
parent 2bd6a233dc
commit c12367a013
36 changed files with 2075 additions and 849 deletions
+1 -1
View File
@@ -14,9 +14,9 @@ import (
type ClashServer interface {
LifecycleService
ConnectionTracker
Mode() string
ModeList() []string
SetMode(mode string)
SetModeUpdateHook(hook *observable.Subscriber[struct{}])
HistoryStorage() URLTestHistoryStorage
}