Open-Source Wikis

/

Consul

/

Packages

hashicorp/consul

Packages

Workspace Go modules in this repo. The root module produces the consul binary; the others are public-facing libraries. Each has its own go.mod.

Module Path Public-facing? Notes
github.com/hashicorp/consul ./ (root) No The main module — agent, server, CLI
api api/ Yes The Go HTTP client used by the CLI and external apps
sdk sdk/ Yes Test helpers (testutil, freeport, certs, iptables)
envoyextensions envoyextensions/ Yes Envoy extension framework + bundled extensions + xdscommon
proto-public proto-public/ Yes Public protobuf schemas: pbacl, pbconnectca, pbdataplane, pbdns, pbresource, pbserverdiscovery, pbmulticluster
troubleshoot troubleshoot/ Yes Library powering consul troubleshoot ...

The root module's go.mod replaces each sub-module to its sibling directory, so building from a checkout exercises in-tree changes across modules.

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

Packages – Consul wiki | Factory