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 |