Documentation
¶
Overview ¶
Package instanceheader names, on every HTTP response, the platform process that served it. Replicas of one deployment share a database and differ in the state each holds in memory, so a defect of that kind is visible only to a reader who can tell which replica answered (#1708).
Index ¶
Constants ¶
View Source
const Header = "X-Platform-Instance"
Header is the response header that carries the process name.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
Middleware sets Header on every response, before the handler runs, so a refusal written by any layer below carries it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.