# Functions
ExponentialBackoffDuration gets time to wait before retry for exponential backoff.
ListPendingRequests issues a single request to the proxy to ask for the IDs of pending requests.
NewResponseForwarder constructs a new ResponseForwarder that forwards to the given proxy for the specified request.
ReadRequest reads a forwarded client request from the inverting proxy.
RoundTripperWithVMIdentity returns an http.RoundTripper that includes a GCE VM ID token in every outbound request.
No description provided by the author
# Constants
HeaderBackendID is the name of a request header used to uniquely identify this agent.
HeaderRequestID is the name of a request/response header used to uniquely identify a proxied request.
HeaderRequestStartTime is the name of a response header used by the proxy to report the start time of a proxied request.
HeaderUserID is the name of a response header used by the proxy to identify the end user.
HeaderVMID is the name of a request header used to report the VM (if any) on which the agent is running.
JitterPercent sets the jitter for exponential backoff retry time.
PendingPath is the URL subpath for pending requests held by the proxy.
RequestPath is the URL subpath for reading a specific request held by the proxy.
ResponsePath is the URL subpath for posting a request response to the proxy.
# Structs
ForwardedRequest represents an end-client HTTP request that was forwarded to us by the inverting proxy.
ResponseForwarder implements http.ResponseWriter by dumping a wire-compatible representation of the response to 'proxyWriter' field.
# Type aliases
PendingRequests represents a list of request IDs that do not yet have a response.
RequestCallback defines how the caller of `ReadRequest` uses the request that was read.