Tutorials
Tutorials
Section titled “Tutorials”Learn go-zero through practical, step-by-step guides organized by topic.
HTTP Services
Section titled “HTTP Services”- Basic HTTP Service — Create your first REST API
- Middleware — Request/response interceptors
- JWT Authentication — Secure endpoints with tokens
- File Upload — Handle multipart form data
gRPC Services
Section titled “gRPC Services”- gRPC Server — Define and serve a protobuf service
- gRPC Client — Call gRPC services from Go
- Interceptors — Middleware for gRPC
Database
Section titled “Database”- MySQL — ORM-free data access with goctl models
- Redis — Caching and distributed data
- MongoDB — Document store integration
Microservices
Section titled “Microservices”- Service Discovery — Register and resolve services
- Load Balancing — Distribute RPC traffic
- Distributed Tracing — Trace requests across services
Deployment
Section titled “Deployment”- Docker — Containerize go-zero services
- Kubernetes — Deploy to a K8s cluster