package proxy import "io" func CopyWithErrors(dst io.Writer, src io.Reader, errc chan<- error) { _, err := io.Copy(dst, src) errc <- err }