add chapter 15.9 (#686)

This commit is contained in:
marjune
2019-07-19 11:55:26 +08:00
committed by ᴊ. ᴄʜᴇɴ
parent c35513e355
commit e4c10d1d56
8 changed files with 284 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
// rpc_objects.go
package rpc_objects
import "net"
type Args struct {
N, M int
}
func (t *Args) Multiply(args *Args, reply *int) net.Error {
*reply = args.N * args.M
return nil
}