This repo contains a simple echo service implemented with the official Go gRPC library (grpc-go) and with the Go implementation of the Connect RPC protocol (connect-go).
Servers and clients for all methods are implemented with both stacks and can be used for side-by-side comparisons and examples of how to use both libraries.
Protocol buffer descriptions are in the proto directory.
make all generates necessary code and builds the echo-go tool. Code generation requires protoc, which can be downloaded here. All generated code will be in the genproto directory.
make build quickly rebuilds when the generated code is already up-to-date.
echo-go is a command-line tool that runs the servers and clients.
Released under the Apache 2 license.