BitTorrent HTTP、UDP tracker impl(50%)

This commit is contained in:
liwei committed 2019-05-17 19:07:10 +08:00
1 parent 808035094c
commit 41ff983b73
16 files changed
+600 -25

No files matched your search

+3 -3
View File
@@ -2,11 +2,11 @@ package main
import (
"fmt"
"gopeed/down"
"gopeed/down/http"
)
func main() {
request := &down.Request{
request := &http.Request{
Method: "get",
URL: "http://github.com/proxyee-down-org/proxyee-down/releases/download/3.4/proxyee-down-main.jar",
Header: map[string]string{
@@ -18,7 +18,7 @@ func main() {
"Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
},
}
got, _ := down.Resolve(request)
got, _ := http.Resolve(request)
fmt.Println(got)
// webview.Open("Minimal webview example", "https://www.baidu.com", 800, 600, true)
}