1
0
Fork 0
mirror of https://github.com/sourcegraph/jsonrpc2.git synced 2026-06-16 04:04:56 +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()
}
// 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.
type ObjectCodec interface {
// WriteObject writes a JSON-RPC 2.0 object to the stream.