frostfs-node/pkg/network
Leonard Lyubich 149367cab9 [#607] network: Sort addresses in AddressGroup.FromIterator method
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>
2021-06-28 15:52:50 +03:00
..
cache [#607] network: Make ClientCache to accept AddressGroup 2021-06-28 15:52:50 +03:00
transport [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
address.go [#607] network: Generalize LocalAddressSource to address group 2021-06-28 15:52:50 +03:00
address_test.go [#607] network: Do not work with Address pointers 2021-06-18 18:09:50 +03:00
group.go [#607] network: Sort addresses in AddressGroup.FromIterator method 2021-06-28 15:52:50 +03:00
tls.go [#549] network/Address: Add TLS 2021-05-27 17:07:04 +03:00
tls_test.go [#607] network: Do not work with Address pointers 2021-06-18 18:09:50 +03:00
validation.go [#622] pkg/network: Add multiaddress validation 2021-06-22 12:12:45 +03:00
validation_test.go [#622] pkg/network: Add multiaddress validation 2021-06-22 12:12:45 +03:00