Last updated:
0 purchases
openiothub grpc api
grpc-api #
OpenIoTHub‘s Grpc API
https://grpc.io/docs/languages/go/quickstart/
https://grpc.io/docs/protoc-installation/
copied to clipboard
brew install protobuf
$ go install google.golang.org/protobuf/cmd/[email protected]
$ go install google.golang.org/grpc/cmd/[email protected]
copied to clipboard
dart pub global activate protoc_plugin
copied to clipboard
编译谷歌通用消息到dart,golang不用自己编译直接引用:
protoc --dart_out=grpc:lib google/protobuf/empty.proto google/protobuf/wrappers.proto
copied to clipboard
使用谷歌已经写好的常见消息,google.protobuf.Int32Value,google.protobuf.Empty:
https://www.jianshu.com/p/65ae77e4c517?utm_campaign=maleskine
引用谷歌proto:
https://github.com/google/protobuf.dart/issues/483
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.