From: Peter Nguyen Date: Fri, 3 Feb 2017 20:45:50 +0000 (+0100) Subject: net/rpc/jsonrpc: Update package doc with info about JSON-RPC 2.0 X-Git-Tag: go1.9beta1~1743 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7751d56e3955aaf5285f16b1643e6d8153e32b80;p=gostls13.git net/rpc/jsonrpc: Update package doc with info about JSON-RPC 2.0 Currently the net/rpc/jsonrpc package only implements JSON-RPC version 1.0. This change updates the package's documentation with link to find packages for JSON-RPC 2.0. Fixes #10929 Change-Id: I3b6f1d17738a1759d7b62ab7b3ecef5b248d30ca Reviewed-on: https://go-review.googlesource.com/36330 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/net/rpc/jsonrpc/client.go b/src/net/rpc/jsonrpc/client.go index da1b8165fc..e6359bed59 100644 --- a/src/net/rpc/jsonrpc/client.go +++ b/src/net/rpc/jsonrpc/client.go @@ -2,8 +2,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package jsonrpc implements a JSON-RPC ClientCodec and ServerCodec +// Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec // for the rpc package. +// For JSON-RPC 2.0 support, see https://godoc.org/?q=json-rpc+2.0 package jsonrpc import (