Skip to content

jxq96/go-rpc-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang net/rpc package bug?

This demo project seem shows a bug(or feature?) of net/rpc package.

Detail Explaination

It seems net/rpc module cannot serilize 0 in the reply struct.

In the demo code, if 0 can be serilized successfully, client should get reply.ID == 0, however, the result is 1.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages