An open API service indexing awesome lists of open source software.

https://github.com/rensawamo/flutter_all_grpcs


https://github.com/rensawamo/flutter_all_grpcs

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

## Flutter で gRPCを使う

通常は GOでサーバを実装するが、Dartでも可能。

4種類のgRPCのサンプルプログラム

###

### grpc 生成
```sh
protoc -I gRPC/ gRPC/reserve.proto --dart_out=grpc:gRPC
```

### import がある時 後ろにインポートするものをつける
```sh
protoc -I gRPC/ gRPC/reserve.proto --dart_out=grpc:gRPC google/protobuf/timestamp.proto
```