Backend protocols in Go
# How REST, GraphQL, gRPC, WebSockets/SSE and messaging map onto Go's stdlib and the dominant community libraries.
❯ cat documents/
-
Backend protocols in Go — the map
Concept
2026-08-09
How REST, GraphQL, gRPC, WebSockets/SSE and messaging map onto Go's stdlib and the dominant community libraries.
-
API documentation in Go
Concept
2026-08-09
OpenAPI, AsyncAPI, protobuf and GraphQL SDL tooling for net/http/chi, Gin, Echo and Fiber — oapi-codegen, swag, huma/fuego, buf and grpc-gateway — and Go's codegen-first take on the direction trade.
-
GraphQL in Go
Concept
2026-08-09
gqlgen's schema-first codegen as the de-facto GraphQL stack, the runtime-first alternatives, dataloaders, subscriptions and federation.
-
gRPC in Go
Concept
2026-08-09
grpc-go and the buf toolchain, streaming modes, interceptors, connect-go and grpc-gateway, and load-balancing realities in Kubernetes.
-
Messaging in Go — Kafka, NATS & AMQP
Concept
2026-08-09
The four Kafka clients, NATS as the Go-native option, RabbitMQ via amqp091-go, watermill, delivery semantics and broker testing.
-
REST & HTTP APIs in Go
Concept
2026-08-09
Building REST services on net/http and chi — JSON realities, validation, OpenAPI tooling, error conventions, clients and middleware.
-
WebSockets & SSE in Go
Concept
2026-08-09
gorilla/websocket and coder/websocket for bidirectional push, SSE from the stdlib, goroutine-per-connection economics and backpressure.