aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Casaretto <pcasaretto@gmail.com>2016-05-29 23:04:00 -0300
committerAndrew Gerrand <adg@golang.org>2016-06-01 00:27:12 +0000
commitba4d7f4cb4e3946f22c9378c75d4d188422bbf1e (patch)
treec454af952f32fefa30e485ac9fa9f318a032a032
parent8b16845fc1df744688a021c727a11ec4a3a390b4 (diff)
content: fix broken link in blog.golang.org/json-rpc-tale-of-interfaces
The link to the source of the referred changelog was not correct anymore. This change updates it to the github commit view. Change-Id: Ifdd92914841672ab6062ebf1b96d8bb15ba82892 Reviewed-on: https://go-review.googlesource.com/23541 Reviewed-by: Andrew Gerrand <adg@golang.org>
1 files changed, 1 insertions, 1 deletions
diff --git a/content/json-rpc-tale-of-interfaces.article b/content/json-rpc-tale-of-interfaces.article
index 286ad11..e301e75 100644
--- a/content/json-rpc-tale-of-interfaces.article
+++ b/content/json-rpc-tale-of-interfaces.article
@@ -29,7 +29,7 @@ became
We then wrote a trivial `gobServerCodec` wrapper to reproduce the original functionality. From there it is simple to build a `jsonServerCodec`.
-After some similar changes to the client side, this was the full extent of the work we needed to do on the RPC package. This whole exercise took about 20 minutes! After tidying up and testing the new code, the [[http://code.google.com/p/go/source/diff?spec=svn9daf796ebf1cae97b2fcf760a4ab682f1f063f29&r=9daf796ebf1cae97b2fcf760a4ab682f1f063f29&format=side&path=/src/pkg/rpc/server.go][final changeset]] was submitted.
+After some similar changes to the client side, this was the full extent of the work we needed to do on the RPC package. This whole exercise took about 20 minutes! After tidying up and testing the new code, the [[https://github.com/golang/go/commit/dcff89057bc0e0d7cb14cf414f2df6f5fb1a41ec][final changeset]] was submitted.
In an inheritance-oriented language like Java or C++, the obvious path would be to generalize the RPC class, and create JsonRPC and GobRPC subclasses. However, this approach becomes tricky if you want to make a further generalization orthogonal to that hierarchy. (For example, if you were to implement an alternate RPC standard). In our Go package, we took a route that is both conceptually simpler and requires less code be written or changed.