I have a Request object in golang, and I would like to feed the contents of this object through a net.Conn as part of the task of a proxy. I want to call something like
req, err := http.ReadRequest(bufio.NewReader(conn_to_client)) conn_to_remote_server.Write(... ? ... )
but I have no idea what I would be passing in as the arguments. Any advice would be appreciated.