Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! 𝐉𝐚𝐯𝐚有𝐝𝐮𝐛𝐛𝐨, 𝐆𝐨𝐥𝐚𝐧𝐠有𝐫𝐩𝐜𝐱! build for cloud!
type MArgIn struct {
Id int32
Num int32
}
type MArgOut struct {
NRet int
MultiSum int
MultiList []int
}
err := LotteryRpcxClient.Call(context.Background(), "GetWinners", argIn, argOut)
rpcx 使用默认设置 , 当我的 reply 里面包含一个 []int 切片的时候, 获取reply 始终为空值
如果我把MArgOut 当中的 MultiList 去掉.就可以获取返回值.