项目作者: marcoferrer

项目描述 :
gRPC Kotlin template project for getting started building clients and services using Kotlin Coroutines and kroto-plus code generation.
高级语言: Kotlin
项目地址: git://github.com/marcoferrer/kotlin-coroutines-gRPC-template.git


Kroto+

Kotlin Coroutines gRPC Template

This is a template project for getting started building gRPC clients and services using Kotlin Coroutines and kroto-plus code generation.

The template can be built and ran using the following command:

  1. git clone https://github.com/marcoferrer/kotlin-coroutines-gRPC-template && \
  2. cd kotlin-coroutines-gRPC-template && \
  3. ./gradlew run

This template covers:

  • Recommeded Build Configuration
  • Implementing A Service
  • Instantiating A Client Stub
    • Attaching a coroutineContext
  • Client and Server Rpc Method Examples:
    • Unary
    • Client Streaming
    • Server Streaming
    • BiDirectional Streaming