]> Cypherpunks repositories - gostls13.git/commit
rpc: allow the argument (first arg of method) to be a value rather than a pointer.
authorRob Pike <r@golang.org>
Tue, 26 Apr 2011 22:07:25 +0000 (15:07 -0700)
committerRob Pike <r@golang.org>
Tue, 26 Apr 2011 22:07:25 +0000 (15:07 -0700)
commita0a10d1988b5fe242d768402b406342fe47ad5b2
tree557e2db5800c2be38269f381f9785f76d0190f11
parent214b82f2e0eaadc9d15384538d3b3787867a675a
rpc: allow the argument (first arg of method) to be a value rather than a pointer.
Can make the API nicer in some cases.

R=rsc, rog, r2
CC=golang-dev
https://golang.org/cl/4428064
src/pkg/rpc/server.go
src/pkg/rpc/server_test.go