Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

使用JSON客户端

运行rpc服务

cd ../rpc
go run rpc.go

2019/08/16 23:29:25 Transport [http] Listening on [::]:62397
2019/08/16 23:29:25 Broker [http] Connected to [::]:62398
2019/08/16 23:29:25 Registry [mdns] Registering node: go.micro.rpc.example-ff010ffb-262a-486e-b1b8-7609a4705a86

运行客户端

go run main.go

rsp:  RPC Call收到了你的请求 John