clash-api: Reset outbounds in DELETE /connections

This commit is contained in:
世界
2023-04-24 10:05:13 +08:00
parent 91fbf4c79b
commit daee0db7bb
4 changed files with 24 additions and 7 deletions

View File

@@ -51,6 +51,8 @@ type Router interface {
V2RayServer() V2RayServer
SetV2RayServer(server V2RayServer)
ResetNetwork() error
}
type routerContextKey struct{}