You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
How can I generate service definition on kotlin using protoc?
-Thanks
Chengyuan Zhang
unread,
Nov 12, 2020, 1:35:32 AM11/12/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
gRPC-Kotlin provides a Kotlin codegen plugin for protoc that generates Kotlin-style gRPC stub/service interface. Its usage is the same as for any other languages, you can see the usage in its README.
If you are using Gradle with protobuf-gradle-plugin, you only need to provide the Kotlin plugin to the protobuf configuration block. An example can be seen in grpc-kotlin example.