frostfs-node/cmd/neofs-cli/internal/client
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
..
client.go [#1239] neofs-cli: Use pointer-less slices for object ID 2022-03-29 16:02:05 +03:00
doc.go [#950] cli: Refactor usage of NeoFS API client 2021-11-03 18:26:36 +03:00
prm.go [#1194] client: Support request X-headers 2022-03-03 15:38:38 +03:00
sdk.go [#1351] cli: Fix connection scheme loss during endpoint parsing 2022-05-05 10:43:27 +03:00