github.com/xmplusdev/xmcore@v1.8.11-0.20240412132628-5518b55526af/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 }