neo-go/pkg/services/rpcsrv
Roman Khimov 1b83dc2476 *: improve for loop syntax
Mostly it's about Go 1.22+ syntax with ranging over integers, but it also
prefers ranging over slices where possible (it makes code a little better to
read).

Notice that we have a number of dangerous loops where slices are mutated
during loop execution, many of these can't be converted since we need proper
length evalutation at every iteration.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-30 21:45:18 +03:00
..
params *: improve for loop syntax 2024-08-30 21:45:18 +03:00
testdata rpcclient: fix WS-client unsubscription process 2022-11-16 23:44:30 +03:00
client_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
error.go rpcsrv: deduplicate RunForErrors code 2024-08-27 08:24:52 +03:00
local_test.go config: drop deprecated address/port configurations 2023-10-10 13:26:07 +03:00
prometheus.go rpcsrv: remove deprecated RPC counters 2023-03-18 10:52:24 +03:00
server.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
server_helper_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
server_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
subscription.go neorpc: add WS notification filter IsValid functionality 2023-12-28 11:08:46 +03:00
subscription_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
tokens.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
util.go rpc/server: move to services/rpcsrv 2022-07-21 22:14:12 +03:00