mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
.. | ||
go.mod | ||
go.sum | ||
label_test.go | ||
label.go | ||
options.go | ||
README.md |
Label Selector
The label selecotr is a a priority based label selector. Rather than just returning nodes with specific labels this selector orders the nodes based on a list of labels. If no labels match all the nodes are still returned. The priority based label selector is useful for such things as rudimentary AZ based routing where requests made to other services should remain in the same AZ.