github.com/imannamdari/v2ray-core/v5@v5.0.5/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  }