Skip to main content

GOPRIVATE_CHAIN_KEY

Constant GOPRIVATE_CHAIN_KEY 

Source
pub const GOPRIVATE_CHAIN_KEY: &str = "go-private:direct";
Expand description

Fixed routing key for the GOPRIVATE-bypass chain (FR-008).

A single GoProxyHop::Direct hop, registered once whenever $GOENV declares any GOPRIVATE pattern, regardless of what (if anything) GOPROXY is configured to. Content never varies, so a fixed key (rather than a hash) is sufficient and stable across re-parses.