MCPcopy Index your code
hub / github.com/akshayjshah/grpc-demystified

github.com/akshayjshah/grpc-demystified @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
14 symbols 37 edges 4 files 7 documented · 50%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

gRPC Demystified

Watch the video

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.

Core symbols most depended-on inside this repo

Marshal
called by 3
grpc.go
Size
called by 2
grpc.go
SetSize
called by 2
grpc.go
Unmarshal
called by 2
grpc.go
callGRPC
called by 1
grpc.go
verifyGRPC
called by 1
grpc.go
callREST
called by 1
rest.go
grpcHandler
called by 0
grpc.go

Shape

Function 6
Method 5
Struct 2
TypeAlias 1

Languages

Go100%

Modules by API surface

grpc.go10 symbols
rest.go2 symbols
pet.go1 symbols
main.go1 symbols

For agents

$ claude mcp add grpc-demystified \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact