mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-18 22:33:42 +00:00
Rename project
This commit is contained in:
1 parent
66a4b022f2
commit
808035094c
3 files changed
+6
-6
No files matched your search
@@ -1,2 +1,2 @@
|
|||||||
## gee-download
|
## gopeed
|
||||||
A fast download client,support HTTP&P2P.
|
A fast download client,support HTTP&P2P.
|
||||||
@@ -2,11 +2,11 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"gee-download/down"
|
"gopeed/down"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
httpRequest, _ := down.BuildHTTPRequest(&down.Request{
|
request := &down.Request{
|
||||||
Method: "get",
|
Method: "get",
|
||||||
URL: "http://github.com/proxyee-down-org/proxyee-down/releases/download/3.4/proxyee-down-main.jar",
|
URL: "http://github.com/proxyee-down-org/proxyee-down/releases/download/3.4/proxyee-down-main.jar",
|
||||||
Header: map[string]string{
|
Header: map[string]string{
|
||||||
@@ -17,8 +17,8 @@ func main() {
|
|||||||
"Accept-Encoding": "gzip, deflate, br",
|
"Accept-Encoding": "gzip, deflate, br",
|
||||||
"Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
|
"Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
|
||||||
},
|
},
|
||||||
})
|
}
|
||||||
got, _ := down.Resolve(*httpRequest)
|
got, _ := down.Resolve(request)
|
||||||
fmt.Println(got)
|
fmt.Println(got)
|
||||||
// webview.Open("Minimal webview example", "https://www.baidu.com", 800, 600, true)
|
// webview.Open("Minimal webview example", "https://www.baidu.com", 800, 600, true)
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user