frostfs-node/pkg/network
Leonard Lyubich cd545f0160 [#1351] cli: Fix connection scheme loss during endpoint parsing
In previous implementation NeoFS CLI app used `network.Address.HostAddr`
as a server URI, which caused scheme loss since host address doesn't
contain it.

Rename `HostAddr` to `URIAddr` and make it to return URI address with
`grpcs` scheme if TLS is enabled. Make `TLSEnabled` unexported since it
was used to provide default `tls.Config` only (it is used by default in
SDK).

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-05-05 10:43:27 +03:00
..
cache [#1351] cli: Fix connection scheme loss during endpoint parsing 2022-05-05 10:43:27 +03:00
transport [#1115] *: link TODOs to corresponding issues 2022-02-11 12:58:59 +03:00
address.go [#1351] cli: Fix connection scheme loss during endpoint parsing 2022-05-05 10:43:27 +03:00
address_test.go [#1351] cli: Fix connection scheme loss during endpoint parsing 2022-05-05 10:43:27 +03:00
group.go [#1351] cli: Fix connection scheme loss during endpoint parsing 2022-05-05 10:43:27 +03:00
tls.go [#1351] cli: Fix connection scheme loss during endpoint parsing 2022-05-05 10:43:27 +03:00
tls_test.go [#1351] cli: Fix connection scheme loss during endpoint parsing 2022-05-05 10:43:27 +03:00
validation.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
validation_test.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00