Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/rpc: method receiver doesn't have to be marshalable by encoding/gob contrary to documentation #16803

Closed
vincentbernat opened this issue Aug 19, 2016 · 2 comments
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@vincentbernat
Copy link

Hey!

In the documentation of net/rpc, it is said that the method receiver T needs to be marshalable with encoding/gob. From my understanding, this is not the case, only the two arguments need to be.

@odeke-em
Copy link
Member

/cc @robpike

@quentinmit quentinmit added this to the Go1.8 milestone Sep 6, 2016
@odeke-em odeke-em changed the title net/rpc: method receiver don't need to be marshaled by encoding/gob net/rpc: method receiver doesn't have to be marshalable by encoding/gob contrary to documentation Sep 8, 2016
@quentinmit quentinmit added the NeedsFix The path to resolution is known, but the work has not been done. label Oct 7, 2016
@gopherbot
Copy link

CL https://golang.org/cl/32094 mentions this issue.

@golang golang locked and limited conversation to collaborators Oct 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

4 participants