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 (#47)

Co-authored-by: xiarui.xr <xiarui.xr@antfin.com>
This commit is contained in:
amyxia 2021-05-26 20:52:51 +08:00 committed by GitHub
parent 99f63e011f
commit 5cdc7d6ccd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.