标签:order play des rpc table method res als mode
{
"jsonrpc": "2.0",
"method": "Registry.Register",
"params": [{
"name": "api.jtthink.com.test",
"version": "1.0",
"endpoints": [],
"nodes": [{
"address": "192.168.29.1",
"id": "userservice-uuid",
"port": 8088
}]
}],
"id": 1
}
{
"jsonrpc": "2.0",
"method": "Registry.Deregister", //把这里的方法名修改一下
"params": [{
"name": "api.jtthink.com.test",
"version": "1.0",
"endpoints": [],
"nodes": [{
"address": "192.168.29.1",
"id": "userservice-uuid",
"port": 8088
}]
}],
"id": 1
}
29.普通API集成到go-micro体系中(1):手工集成
标签:order play des rpc table method res als mode
原文地址:https://www.cnblogs.com/hualou/p/12146403.html