This repository contains the slides and code for a lightning talk I hope to give at Gophercon 2022. In the talk, we build a gRPC server — from scratch — using just the Go standard library.
The code includes a REST handler and a from-scratch gRPC
handler, both implementing the same logic. There’s also a client for
each, along with a
grpc-go client to show that our handler is speaking the
wire protocol correctly. To start the HTTP server and make a request with each
go run ..
If this talk appeals to you, the Connect RPC framework may be right up your alley.