Versions in this module Expand all Collapse all v0 v0.6.1 Aug 21, 2016 Changes in this version + func GenerateForwardedHTTPRequest(req *http.Request, addr string) (*http.Request, error) + func ParseForwardedHTTPRequest(req *http.Request) (*http.Request, error) + func ParseForwardedRequest(fq *Request) (*http.Request, error) + type HeaderEntry struct + Values []string + func (*HeaderEntry) Descriptor() ([]byte, []int) + func (*HeaderEntry) ProtoMessage() + func (m *HeaderEntry) Reset() + func (m *HeaderEntry) String() string + type RPCResponseWriter struct + func NewRPCResponseWriter() *RPCResponseWriter + func (w *RPCResponseWriter) Body() *bytes.Buffer + func (w *RPCResponseWriter) Header() http.Header + func (w *RPCResponseWriter) StatusCode() int + func (w *RPCResponseWriter) Write(buf []byte) (int, error) + func (w *RPCResponseWriter) WriteHeader(code int) + type Request struct + Body []byte + HeaderEntries map[string]*HeaderEntry + Host string + Method string + PeerCertificates [][]byte + RemoteAddr string + Url *URL + func GenerateForwardedRequest(req *http.Request) (*Request, error) + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetHeaderEntries() map[string]*HeaderEntry + func (m *Request) GetUrl() *URL + func (m *Request) Reset() + func (m *Request) String() string + type Response struct + Body []byte + StatusCode uint32 + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) Reset() + func (m *Response) String() string + type URL struct + Fragment string + Host string + Opaque string + Path string + RawPath string + RawQuery string + Scheme string + func (*URL) Descriptor() ([]byte, []int) + func (*URL) ProtoMessage() + func (m *URL) Reset() + func (m *URL) String() string