mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
11 lines
182 B
Python
11 lines
182 B
Python
|
import requests
|
||
|
import json
|
||
|
import proxy
|
||
|
|
||
|
def main():
|
||
|
response = proxy.rpc_call("/greeter/say/hello", {"name": "John"})
|
||
|
print response
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
main()
|