mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 03:58:06 +00:00
d09158161e
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> |
||
---|---|---|
.. | ||
params | ||
testdata | ||
client_test.go | ||
error.go | ||
prometheus.go | ||
server.go | ||
server_helper_test.go | ||
server_test.go | ||
subscription.go | ||
subscription_test.go | ||
tokens.go | ||
util.go |