Remove urltest outbound

This commit is contained in:
世界
2022-07-28 16:36:31 +08:00
parent 4bd6eee63e
commit 806ec58d43
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()
}