Documentation
¶
Overview ¶
Package meta defines the internal gRPC metadata contract carried between the router and the per-upstream proxy: the router stamps the request namespace it already extracted so the proxy can resolve a templated upstream address without parsing the payload again. It depends on no other internal packages.
Index ¶
Constants ¶
View Source
const NamespaceHeader = "x-temporal-proxy-namespace"
NamespaceHeader is the outgoing metadata key that carries the local (pre- translation) namespace from the router to the upstream proxy.
Variables ¶
This section is empty.
Functions ¶
func NamespaceFrom ¶
NamespaceFrom returns the namespace carried on ctx's outgoing metadata, or "" when absent. When multiple values are present the last (most recently added) wins.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.