包名修改

This commit is contained in:
liwei committed 2020-08-11 22:34:54 +08:00
1 parent df2dbca475
commit 7cd0ea1c6b
18 files changed
+30 -30

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@ package bt
import (
"crypto/rand"
"github.com/monkeyWie/gopeed/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed/protocol/bt/torrent"
"github.com/monkeyWie/gopeed-core/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed-core/protocol/bt/torrent"
"net/url"
)
+3 -3
View File
@@ -1,9 +1,9 @@
package main
import (
"github.com/monkeyWie/gopeed/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed/protocol/bt/peer"
"github.com/monkeyWie/gopeed/protocol/bt/torrent"
"github.com/monkeyWie/gopeed-core/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed-core/protocol/bt/peer"
"github.com/monkeyWie/gopeed-core/protocol/bt/torrent"
log "github.com/sirupsen/logrus"
)
+3 -3
View File
@@ -15,9 +15,9 @@ import (
"time"
"github.com/cenkalti/mse"
"github.com/monkeyWie/gopeed/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed/protocol/bt/peer"
"github.com/monkeyWie/gopeed/protocol/bt/peer/message"
"github.com/monkeyWie/gopeed-core/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed-core/protocol/bt/peer"
"github.com/monkeyWie/gopeed-core/protocol/bt/peer/message"
log "github.com/sirupsen/logrus"
)
+2 -2
View File
@@ -2,8 +2,8 @@ package torrent
import (
"fmt"
"github.com/monkeyWie/gopeed/protocol/bt/peer"
"github.com/monkeyWie/gopeed/protocol/bt/tracker"
"github.com/monkeyWie/gopeed-core/protocol/bt/peer"
"github.com/monkeyWie/gopeed-core/protocol/bt/tracker"
"os"
"sync"
"testing"
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"sync"
"time"
"github.com/monkeyWie/gopeed/protocol/bt/peer"
"github.com/monkeyWie/gopeed/protocol/bt/tracker"
"github.com/monkeyWie/gopeed-core/protocol/bt/peer"
"github.com/monkeyWie/gopeed-core/protocol/bt/tracker"
)
type peerPool struct {
+1 -1
View File
@@ -1,7 +1,7 @@
package torrent
import (
"github.com/monkeyWie/gopeed/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed-core/protocol/bt/metainfo"
"math"
"sync"
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"errors"
"time"
"github.com/monkeyWie/gopeed/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed-core/protocol/bt/metainfo"
log "github.com/sirupsen/logrus"
)
+2 -2
View File
@@ -1,8 +1,8 @@
package torrent
import (
"github.com/monkeyWie/gopeed/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed/protocol/bt/peer"
"github.com/monkeyWie/gopeed-core/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed-core/protocol/bt/peer"
log "github.com/sirupsen/logrus"
"testing"
)
+2 -2
View File
@@ -15,8 +15,8 @@ import (
"sync"
"time"
"github.com/monkeyWie/gopeed/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed/protocol/bt/peer"
"github.com/monkeyWie/gopeed-core/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed-core/protocol/bt/peer"
)
const (
+1 -1
View File
@@ -2,7 +2,7 @@ package tracker
import (
"fmt"
"github.com/monkeyWie/gopeed/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed-core/protocol/bt/metainfo"
"testing"
)