Golang RPC expert.
Budget: ₹1,500 – ₹12,500 INR
I have a golang RPC server running fine,
A user defined multiply function is exposed to RPC which can be called as Following,
Request = '{"method":"Airth.Multiply" , "params":[{"A":17,"B":8}] , "id":1}'
Response = '{"id":1 , "result":136 , "error":null}'
I want to call the same method with another name, eg.
Request = '{"method":"do_multiply" , "params":[{"A":17,"B":8}] , "id":1}'
Response = '{"id":1 , "result":136 , "error":null}'
My Code is attached.
A user defined multiply function is exposed to RPC which can be called as Following,
Request = '{"method":"Airth.Multiply" , "params":[{"A":17,"B":8}] , "id":1}'
Response = '{"id":1 , "result":136 , "error":null}'
I want to call the same method with another name, eg.
Request = '{"method":"do_multiply" , "params":[{"A":17,"B":8}] , "id":1}'
Response = '{"id":1 , "result":136 , "error":null}'
My Code is attached.