NewAlgorithmProvider creates a routing.PostProcessor used to initialize the algorithm of load balancing routes.
()
| 272 | // NewAlgorithmProvider creates a routing.PostProcessor used to initialize |
| 273 | // the algorithm of load balancing routes. |
| 274 | func NewAlgorithmProvider() routing.PostProcessor { |
| 275 | return &algorithmProvider{} |
| 276 | } |
| 277 | |
| 278 | // AlgorithmFromString parses the string representation of the algorithm definition. |
| 279 | func AlgorithmFromString(a string) (Algorithm, error) { |
no outgoing calls
searching dependent graphs…