This repository contains the slides and code for a lightning talk I gave at Gophercon 2022. In the talk, we build a gRPC server — from scratch — using just the Go standard library.
If you'd like a copy of the slides, they're available in Keynote or PDF format. You can watch the talk on YouTube (or click the image above).
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
client, go run .
.
If this talk appeals to you, the Connect RPC framework may be right up your alley.