// ServeHTTP receives and handles a single http request
ServeHTTP receives and handles a single http request
// ServeHTTP receives and handles a single http request
func (p *HTTPProxy) ServeHTTP(w http.ResponseWriter, req *http.Request) {
	log.Debugf("receiving %s request from %s/%s", req.Method, req.Host, req.URL.Path)
	r := &httputil.ReverseProxy{
		Director: p.delegateDirector,
	}
	r.ServeHTTP(w, req)
}
func ( p * HTTPProxy ) ServeHTTP ( w http . ResponseWriter , req * http . Request ) { log . Debugf ( " " , req . Method , req . Host , req . URL . Path ) r := & httputil . ReverseProxy { Director : p . delegateDirector , } r . ServeHTTP ( w , req ) }
ServeHTTP receives and handles a single http request
ServeHTTP receives and handles a single http request