github.com/xmplusdev/xray-core@v1.8.10/features/routing/balancer.go (about)

     1  package routing
     2  
     3  type BalancerOverrider interface {
     4  	SetOverrideTarget(tag, target string) error
     5  	GetOverrideTarget(tag string) (string, error)
     6  }
     7  
     8  type BalancerPrincipleTarget interface {
     9  	GetPrincipleTarget(tag string) ([]string, error)
    10  }