Versions in this module Expand all Collapse all v1 v1.0.0 Jul 15, 2018 Changes in this version + func NewHttpProxy(port string) + type ChunkWriter struct + func (cw ChunkWriter) Write(b []byte) (int, error) + type HttpAdapter struct + func NewHttp(host string, w http.ResponseWriter, r *http.Request) (*HttpAdapter, chan struct{}) + func (h *HttpAdapter) Addr() *C.Addr + func (h *HttpAdapter) Close() + func (h *HttpAdapter) Connect(proxy C.ProxyAdapter) + type HttpsAdapter struct + func NewHttps(host string, conn net.Conn) *HttpsAdapter + func (h *HttpsAdapter) Addr() *C.Addr + func (h *HttpsAdapter) Close() + func (h *HttpsAdapter) Connect(proxy C.ProxyAdapter)