refactor(query): remove SearchRoute function and related documentation

This commit is contained in:
yusing
2026-01-24 01:42:03 +08:00
parent 9f036a61f8
commit 62fb690417
2 changed files with 0 additions and 35 deletions

View File

@@ -30,13 +30,3 @@ func RouteProviderList() []RouteProviderListResponse {
}
return list
}
func SearchRoute(alias string) types.Route {
state := config.ActiveState.Load()
for _, p := range state.IterProviders() {
if r, ok := p.GetRoute(alias); ok {
return r
}
}
return nil
}