コード例 #1
0
ファイル: server.go プロジェクト: ZhangzheBJUT/GoProject
func (t *Arith) Multiply(args *arith.ArithRequest, reply *arith.ArithResponse) error {
	reply.Val = proto.Int32(args.GetA() * args.GetB())
	return nil
}