1
0
Fork 0
mirror of https://github.com/sourcegraph/jsonrpc2.git synced 2026-07-04 16:23:41 +02:00

fix typo in jsonrpc2/stream.go

This commit is contained in:
xiarui.xr 2021-05-26 14:37:34 +08:00
parent 99f63e011f
commit 3a7bd6afc3

View file

@ -68,7 +68,7 @@ func (t *bufferedObjectStream) Close() error {
return t.conn.Close() return t.conn.Close()
} }
// An ObjectCodec specifies how to encoed and decode a JSON-RPC 2.0 // An ObjectCodec specifies how to encode and decode a JSON-RPC 2.0
// object in a stream. // object in a stream.
type ObjectCodec interface { type ObjectCodec interface {
// WriteObject writes a JSON-RPC 2.0 object to the stream. // WriteObject writes a JSON-RPC 2.0 object to the stream.