包名修改

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

+1 -1
View File
@@ -3,7 +3,7 @@ package download
import (
"errors"
"github.com/google/uuid"
"github.com/monkeyWie/gopeed/download/common"
"github.com/monkeyWie/gopeed-core/download/common"
"net/url"
"strings"
)
+2 -2
View File
@@ -2,8 +2,8 @@ package download
import (
"fmt"
"github.com/monkeyWie/gopeed/download/common"
"github.com/monkeyWie/gopeed/download/http"
"github.com/monkeyWie/gopeed-core/download/common"
"github.com/monkeyWie/gopeed-core/download/http"
"testing"
)
+2 -2
View File
@@ -3,8 +3,8 @@ package http
import (
"bytes"
"fmt"
"github.com/monkeyWie/gopeed/download/common"
"github.com/monkeyWie/gopeed/download/http/model"
"github.com/monkeyWie/gopeed-core/download/common"
"github.com/monkeyWie/gopeed-core/download/http/model"
"io/ioutil"
"mime"
"net/http"
+1 -1
View File
@@ -3,7 +3,7 @@ package http
import (
"crypto/md5"
"encoding/hex"
"github.com/monkeyWie/gopeed/download/common"
"github.com/monkeyWie/gopeed-core/download/common"
"io"
"math/rand"
"net"
+1 -1
View File
@@ -1,7 +1,7 @@
package model
import (
"github.com/monkeyWie/gopeed/download/common"
"github.com/monkeyWie/gopeed-core/download/common"
)
type Chunk struct {
+2 -2
View File
@@ -2,8 +2,8 @@ package http
import (
"fmt"
"github.com/monkeyWie/gopeed/download/common"
"github.com/monkeyWie/gopeed/download/http/model"
"github.com/monkeyWie/gopeed-core/download/common"
"github.com/monkeyWie/gopeed-core/download/http/model"
"io"
"net/http"
"path/filepath"
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/monkeyWie/gopeed
module github.com/monkeyWie/gopeed-core
go 1.13
+1 -1
View File
@@ -2,7 +2,7 @@ package main
import (
"fmt"
"github.com/monkeyWie/gopeed/protocol/http"
"github.com/monkeyWie/gopeed-core/protocol/http"
)
func main() {
+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"
)