Skip to content

Glossary

A domain-specific language used to define HTTP API contracts that can be compiled into project scaffolding by goctl.

The service contract definition for inter-service communication, typically generated into RPC handlers and clients.

The dependency container where shared resources are initialized and reused (database clients, caches, RPC clients, and more).

The business layer in go-zero that implements use-case behavior and returns typed response models.

Cross-cutting request handling logic such as authentication, rate limiting, logging, and tracing.