如何在golang中转储HTTP请求和响应

I'm using gorilla web tool kit. There's a LoggingHandler available in the handler package, however it can only log the request data via the handler.

r := mux.NewRouter()
r.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
    w.Write([]byte("This is a catch-all route"))
})
// This can only log the request, how can we log the response?
loggedRouter := handlers.LoggingHandler(os.Stdout, r) 
http.ListenAndServe(":1123", loggedRouter)

httputil has the same feature available via DumpRequest(). In my case client is a browser, and I'm looking for a handler approach to log the response rather than logging it inside each and every handler.