Open-Source Wikis

/

Temporal

/

Reference

/

Dependencies

temporalio/temporal

Dependencies

External Go modules pulled in by go.temporal.io/server. Source: go.mod. This page is selective — full list is in go.mod.

Temporal-owned

Module Purpose
go.temporal.io/api Public proto definitions (workflowservice, operatorservice, types).
go.temporal.io/sdk Go SDK; used internally by the Worker service.
go.temporal.io/auto-scaled-workers Auto-scaling worker integration.
github.com/temporalio/ringpop-go Gossip ring for membership.
github.com/temporalio/sqlparser SQL parser used for visibility queries.
github.com/temporalio/tchannel-go Network library used by ringpop.
github.com/nexus-rpc/sdk-go Nexus client / server library.

Persistence drivers

Module Backend
github.com/gocql/gocql Cassandra.
github.com/go-sql-driver/mysql MySQL.
github.com/jackc/pgx/v5 PostgreSQL (via database/sql).
github.com/lib/pq Older PostgreSQL driver, kept for fallback.
modernc.org/sqlite SQLite (cgo-free).
github.com/jmoiron/sqlx Helpers for SQL query mapping.
github.com/olivere/elastic/v7 Elasticsearch.

Cloud / archive

Module Purpose
cloud.google.com/go/storage GCS archiver.
github.com/aws/aws-sdk-go-v2/service/s3 S3 archiver.

Observability

Module Purpose
go.uber.org/zap Structured logging.
go.uber.org/fx Dependency injection.
go.uber.org/multierr, go.uber.org/atomic Concurrency helpers.
go.uber.org/mock Mock generation.
github.com/prometheus/client_golang Prometheus metric backend.
github.com/uber-go/tally/v4 Metric aggregation.
go.opentelemetry.io/otel* OpenTelemetry tracing / metrics.
github.com/cactus/go-statsd-client/v5 StatsD metric backend.

RPC / network

Module Purpose
google.golang.org/grpc gRPC server and client.
google.golang.org/protobuf Proto runtime.
github.com/grpc-ecosystem/grpc-gateway/v2 HTTP REST gateway.
github.com/gorilla/mux HTTP router used by Nexus and operator endpoints.

Auth

Module Purpose
github.com/go-jose/go-jose/v4 JWT verification.
github.com/golang-jwt/jwt/v4 Older JWT library kept for compatibility.
github.com/spiffe/go-spiffe/v2 SPIFFE / SPIRE identity.

Test

Module Purpose
github.com/stretchr/testify Standard test assertions.
github.com/jstemmer/go-junit-report/v2 JUnit XML output for CI.
github.com/go-faker/faker/v4 Test fixture generation.
github.com/maruel/panicparse/v2 Stack trace formatting.

Notes

  • The repo deliberately avoids new third-party deps. Adding one requires maintainer approval.
  • A handful of indirect deps come from cloud.google.com/go/.... These cannot easily be trimmed; they grow when one of the GCS / GCE storage modules is updated.
  • Go version is pinned in go.modgo 1.26.2 at the time of writing.

Where to read more

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Dependencies – Temporal wiki | Factory