neoneo-go/pkg/services/rpcsrv
Leonard Lyubich d09158161e services/rpcsrv: Strengthen Server error channel's type
According to docs, `Server` uses provided error channel only to write
encountered error to it. In this case, there is no need to accept rw
channel to create `Server` instance. Strengthening the type to
write-only will allow the caller to ensure control of reading errors
from the provided channel.

The change is backward compatible since any `chan` is `chan<-`.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2023-01-23 10:33:46 +03:00
..
params rpc: adjust Boolean handling in ExpandArrayIntoScript 2022-12-02 10:02:33 +03:00
testdata rpcclient: fix WS-client unsubscription process 2022-11-16 23:44:30 +03:00
client_test.go Merge pull request #2836 from nspcc-dev/fix-subs 2022-12-07 21:17:07 +07:00
error.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
prometheus.go rpcsrv: provide Prometheus histograms for calls 2022-11-09 13:26:45 +03:00
server.go services/rpcsrv: Strengthen Server error channel's type 2023-01-23 10:33:46 +03:00
server_helper_test.go config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
server_test.go rpcsrv: use valid stateroot hash in failing tests 2023-01-11 11:23:47 +03:00
subscription.go rpc: support multiple WSClient notification receivers 2022-10-24 06:09:36 +03:00
subscription_test.go rpcsrv: make websocket client limit configurable 2022-11-23 12:19:49 +03:00
tokens.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
util.go rpc/server: move to services/rpcsrv 2022-07-21 22:14:12 +03:00