mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-09-23 01:27:04 +00:00
Add balancer: & refactor
This commit is contained in:
@@ -8,3 +8,8 @@ type BalancerOverrider interface {
|
||||
type BalancerPrincipleTarget interface {
|
||||
GetPrincipleTarget(tag string) ([]string, error)
|
||||
}
|
||||
|
||||
// BalancerPicker return the outbound tag selected by the given balancer
|
||||
type BalancerPicker interface {
|
||||
GetBalancerOutboundTag(balancerTag string) (string, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user