forked from TrueCloudLab/frostfs-node
149367cab9
Implement `sort.Interface` interface on `AddressGroup` and perform sorting in `AddressGroup.FromIterator` method. Addresses with enabled TLS are "less" in terms of slice position. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru> |
||
---|---|---|
.. | ||
cache | ||
transport | ||
address.go | ||
address_test.go | ||
group.go | ||
tls.go | ||
tls_test.go | ||
validation.go | ||
validation_test.go |