1
0
Fork 0
mirror of https://github.com/sourcegraph/jsonrpc2.git synced 2026-06-17 20:50:03 +02:00

Expose NoopHandler

This commit is contained in:
Jose Garcia 2021-11-25 16:58:13 +00:00 committed by GitHub
parent c9c77b6bb9
commit e8229febb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 12 deletions

View file

@ -50,7 +50,7 @@ func TestPlainObjectCodec(t *testing.T) {
connA := jsonrpc2.NewConn(
context.Background(),
jsonrpc2.NewBufferedStream(cA, jsonrpc2.PlainObjectCodec{}),
noopHandler{},
jsonrpc2.NoopHandler{},
)
defer connA.Close()