mirror of
https://github.com/sourcegraph/jsonrpc2.git
synced 2026-06-25 20:23:39 +02:00
fix typo in jsonrpc2/stream.go (#47)
Co-authored-by: xiarui.xr <xiarui.xr@antfin.com>
This commit is contained in:
parent
99f63e011f
commit
5cdc7d6ccd
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue