Remove urltest outbound

This commit is contained in:
世界
2022-07-28 16:36:31 +08:00
parent c240f1b359
commit c0a2f77258
14 changed files with 20 additions and 324 deletions

View File

@@ -25,3 +25,10 @@ type OutboundGroup interface {
Now() string
All() []string
}
func OutboundTag(detour Outbound) string {
if group, isGroup := detour.(OutboundGroup); isGroup {
return group.Now()
}
return detour.Tag()
}