neoneo-go/pkg
Roman Khimov fcaa24f928 rpcclient: provide some exported error for disconnected WSClient
Regular Client doesn't care much about connections, because HTTP client's Do
method can reuse old ones or create additional ones on the fly. So one request
can fail and the next one easily succeed. WSClient is different, it works via
a single connection and if it breaks, it breaks forever for this
client. Callers will get some error on every request afterwards and it'd be
nice for this error to be the same so that API users could detect
disconnection this way too.

Related to nspcc-dev/neofs-node#2325.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2023-05-03 16:08:54 +03:00
..
compiler core: add Backwards option for storage iterators 2023-04-12 16:45:38 +03:00
config config: do not allow negative validators count 2023-04-13 13:43:14 +03:00
consensus *: use CompareAndSwap instead of CAS for atomics 2023-04-28 12:07:19 +03:00
core core: add nolint comment for deprecated error format style 2023-04-28 12:13:21 +03:00
crypto *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
encoding *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
interop interop/util: Drop unused import 2023-04-22 16:36:49 +04:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc config: use uint32 for validators/committee members count 2023-04-13 13:42:40 +03:00
neotest core: add BLS12_381 interops 2023-04-05 15:37:50 +03:00
network *: use CompareAndSwap instead of CAS for atomics 2023-04-28 12:07:19 +03:00
rpcclient rpcclient: provide some exported error for disconnected WSClient 2023-05-03 16:08:54 +03:00
services *: use CompareAndSwap instead of CAS for atomics 2023-04-28 12:07:19 +03:00
smartcontract Merge pull request #2957 from nspcc-dev/rm-go-17 2023-04-04 15:25:14 +03:00
util *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
vm *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
wallet Merge pull request #2725 from nspcc-dev/move-cli-tests 2022-10-06 13:43:39 +07:00