【文件属性】:
文件名称:protorpc:基于gorp的golang gogoprotobuf rpc
文件大小:25KB
文件格式:ZIP
更新时间:2021-05-16 13:37:16
Go
特里·毛/ protorpc
Terry-Mao/protorpc是一个基于net/rpc和gogo/protobuf的rpc库。
要求
protobuf和gogoprotobuf是必需的。
看:
安装
只需使用go get从github上拉Terry-Mao/protorpc go get :
$ go get -u github.com/Terry-Mao/protorpc
文献资料
从终端阅读Terry-Mao/protorpc文档
$ go doc github . com / Terry - Mao / protorpc
或者,您可以
【文件预览】:
protorpc-master
----.gitignore(266B)
----req_resp.proto(411B)
----ping.go(1022B)
----debug.go(2KB)
----req_resp.pb.go(10KB)
----client_codec.go(1KB)
----server.go(18KB)
----codec.go(2KB)
----server_codec.go(1KB)
----README.md(607B)
----util.go(858B)
----client.go(9KB)
----test()
--------server_test.go(16KB)
--------args_reply.pb.go(15KB)
--------args_reply.proto(434B)
--------client_test.go(2KB)