Update mxk/flowcontrol package from Google Code to mxk/flowrate from GitHub.

This commit is contained in:
Andrey Smirnov
2015-03-15 14:00:04 +03:00
parent 8a0f754fe2
commit 1845c493f4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
package http
import (
"code.google.com/p/mxk/go1/flowcontrol"
"compress/bzip2"
"compress/gzip"
"fmt"
"github.com/mxk/go-flowrate/flowrate"
"github.com/smira/aptly/aptly"
"github.com/smira/aptly/utils"
"github.com/smira/go-ftp-protocol/protocol"
@@ -75,7 +75,7 @@ func NewDownloader(threads int, downLimit int64, progress aptly.Progress) aptly.
}
if downLimit > 0 {
downloader.aggWriter = flowcontrol.NewWriter(progress, downLimit)
downloader.aggWriter = flowrate.NewWriter(progress, downLimit)
} else {
downloader.aggWriter = progress
}