mv pkg/stopper pkg/stop

This makes most of the callsites stutter slightly less.
This commit is contained in:
Jimmy Zelinskie
2017-02-02 21:09:25 -05:00
parent 4d54980930
commit a4b08c021b
4 changed files with 34 additions and 34 deletions
+4 -4
View File
@@ -2,7 +2,7 @@ package storage
import (
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/pkg/stopper"
"github.com/chihaya/chihaya/pkg/stop"
)
// ErrResourceDoesNotExist is the error returned by all delete methods in the
@@ -65,8 +65,8 @@ type PeerStore interface {
// returned.
ScrapeSwarm(infoHash bittorrent.InfoHash, addressFamily bittorrent.AddressFamily) bittorrent.Scrape
// Stopper is an interface that expects a Stop method to stop the
// stop is an interface that expects a Stop method to stop the
// PeerStore.
// For more details see the documentation in the stopper package.
stopper.Stopper
// For more details see the documentation in the stop package.
stop.Stopper
}