I'm trying to pass multiple arguments to a XMLRPC call, but I keep getting hashes and arrays instead
var dataSlice [5]string
var interfaceSlice []interface{} = make([]interface{}, len(dataSlice))
for i, d := range dataSlice {
interfaceSlice[i] = d
}
xmlrpc.Call("Sth.method", &interfaceSlice, &result)
and on server side I can see, that that data was encoded as a single Array ( or, if I provide a struct, as a Hash )
I'm trying to pass multiple arguments to a XMLRPC call, but I keep getting hashes and arrays instead
and on server side I can see, that that data was encoded as a single Array ( or, if I provide a struct, as a Hash )