frostfs-node/pkg/morph/client
Evgenii Stratonikov 0decb95591 [] morph/client: make all constructors return no error
In some places we panic, in some we return error, in some (audit) just return a client.
However in all of the places static client is created immediately before
the sugared-client creation.

This commit makes all constructors to just return a client for the sake
of code simplification and unification.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-02-01 15:47:54 +03:00
..
audit [] morph/client: make method names constant 2022-02-01 15:47:54 +03:00
balance [] morph/client: make all constructors return no error 2022-02-01 15:47:54 +03:00
container [] morph/client: make all constructors return no error 2022-02-01 15:47:54 +03:00
internal [] morph: Define partial interface of StaticClient type 2021-09-30 14:47:04 +03:00
neofs [] morph/client: make all constructors return no error 2022-02-01 15:47:54 +03:00
neofsid [] morph/client: make all constructors return no error 2022-02-01 15:47:54 +03:00
netmap [] morph/client: make all constructors return no error 2022-02-01 15:47:54 +03:00
reputation [] morph/client: make all constructors return no error 2022-02-01 15:47:54 +03:00
subnet [] morph/client: make method names constant 2022-02-01 15:47:54 +03:00
client.go [] *: fix linter errors 2022-01-31 13:01:58 +03:00
client_test.go [] morph/client: Support boolean invocation argument 2021-05-25 16:35:52 +03:00
constructor.go [] *: fix linter errors 2022-01-31 13:01:58 +03:00
fee.go [] ir/container: Customize fee for named container registration 2021-12-08 13:57:01 +03:00
fee_test.go [] ir/container: Customize fee for named container registration 2021-12-08 13:57:01 +03:00
multi.go [] morph: Add maxConnPerHost option 2021-12-16 18:55:53 +03:00
nns.go [] ir: Add parsing subnet script hash from NNS contract 2021-11-28 14:38:44 +03:00
notary.go [] util/rand: use single random source 2022-01-12 19:29:27 +03:00
static.go [] morph/client: make all constructors return no error 2022-02-01 15:47:54 +03:00
util.go [] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
util_test.go [] morph/client: Try to parse integer as a byte type 2021-04-15 17:53:08 +03:00