cockroachdb/cockroach
API
CockroachDB exposes three categories of APIs:
- Client SQL traffic over the PostgreSQL wire protocol on port 26257 (default). Code:
pkg/sql/pgwire/. - HTTP admin and observability APIs on port 8080 (default). Code under
pkg/server/. - Inter-node RPCs over gRPC and DRPC. Code:
pkg/rpc/and the relevant*pbpackages.
Pages
- Pgwire — PostgreSQL client protocol.
- HTTP APIs —
/api/v2/,/_admin/v1/,/_status/,/debug/. - Inter-node RPCs — gRPC and DRPC services.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.