json.EncodeClientRequest for a method that has no arguments
JGailor opened this issue · 0 comments
JGailor commented
I've fiddled around with this a bit, but haven't been able to get to a working solution. If I have a server method that takes no parameters, how do I call func EncodeClientRequest(method string, args interface{})
?
After thinking this through, should EncodeClientRequest
take variadic args?