mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-03 11:43:36 -07:00
Merge pull request #260 from jzelinskie/stopperpkg
stopper: move to pkg package
This commit is contained in:
@@ -23,7 +23,7 @@ import (
|
|||||||
|
|
||||||
"github.com/chihaya/chihaya/bittorrent"
|
"github.com/chihaya/chihaya/bittorrent"
|
||||||
"github.com/chihaya/chihaya/middleware"
|
"github.com/chihaya/chihaya/middleware"
|
||||||
"github.com/chihaya/chihaya/stopper"
|
"github.com/chihaya/chihaya/pkg/stopper"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import (
|
|||||||
log "github.com/Sirupsen/logrus"
|
log "github.com/Sirupsen/logrus"
|
||||||
"github.com/chihaya/chihaya/bittorrent"
|
"github.com/chihaya/chihaya/bittorrent"
|
||||||
"github.com/chihaya/chihaya/frontend"
|
"github.com/chihaya/chihaya/frontend"
|
||||||
"github.com/chihaya/chihaya/stopper"
|
"github.com/chihaya/chihaya/pkg/stopper"
|
||||||
"github.com/chihaya/chihaya/storage"
|
"github.com/chihaya/chihaya/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package stopper implements a pattern for shutting down a group of processes.
|
||||||
package stopper
|
package stopper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
+1
-1
@@ -2,7 +2,7 @@ package storage
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/chihaya/chihaya/bittorrent"
|
"github.com/chihaya/chihaya/bittorrent"
|
||||||
"github.com/chihaya/chihaya/stopper"
|
"github.com/chihaya/chihaya/pkg/stopper"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ErrResourceDoesNotExist is the error returned by all delete methods in the
|
// ErrResourceDoesNotExist is the error returned by all delete methods in the
|
||||||
|
|||||||
Reference in New Issue
Block a user