Documentation
¶
Overview ¶
Package proxy provides an ordinary custom handler for explicitly configured HTTP forwarding. Native input binding and runtime lifecycle rules apply.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Client xhttp.Options `json:"client"`
Headers []Header `json:"headers,omitempty"`
ForwardQuery bool `json:"forwardQuery,omitempty"`
ForwardBody bool `json:"forwardBody,omitempty"`
}
Config is deployment-owned forwarding policy. Nothing from the incoming request selects the destination or is forwarded without these options.
Click to show internal directories.
Click to hide internal directories.