projects
/
btrtrc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a665f
)
Rename tracker/http package
author
Matt Joiner <anacrolix@gmail.com>
Mon, 5 Dec 2022 06:50:39 +0000 (17:50 +1100)
committer
Matt Joiner <anacrolix@gmail.com>
Tue, 6 Dec 2022 23:44:12 +0000 (10:44 +1100)
tracker/http/client.go
patch
|
blob
|
history
tracker/http/http.go
patch
|
blob
|
history
tracker/http/http_test.go
patch
|
blob
|
history
tracker/http/peer.go
patch
|
blob
|
history
tracker/http/protocol.go
patch
|
blob
|
history
wstracker.go
patch
|
blob
|
history
diff --git
a/tracker/http/client.go
b/tracker/http/client.go
index 7b2a32d1dcedce86d323e57592c96126cee91920..1716b44c8a80781540ee1f0ecf827ebbb84c6216 100644
(file)
--- a/
tracker/http/client.go
+++ b/
tracker/http/client.go
@@
-1,4
+1,4
@@
-package http
+package http
Tracker
import (
"context"
diff --git
a/tracker/http/http.go
b/tracker/http/http.go
index 6a9e0ffa7f01d7c2fd644b6f1c3fc59b89209c21..9aa53797c390e9d96077e840278e9608e6b2c5bf 100644
(file)
--- a/
tracker/http/http.go
+++ b/
tracker/http/http.go
@@
-1,4
+1,4
@@
-package http
+package http
Tracker
import (
"bytes"
diff --git
a/tracker/http/http_test.go
b/tracker/http/http_test.go
index 908b14126124affa81f229869b035e1eb7739341..329aed72b1a939930e3e9fd2f25bf1d1ec997107 100644
(file)
--- a/
tracker/http/http_test.go
+++ b/
tracker/http/http_test.go
@@
-1,4
+1,4
@@
-package http
+package http
Tracker
import (
"net/url"
diff --git
a/tracker/http/peer.go
b/tracker/http/peer.go
index f715e20b847c6abfaa6ce56896400a494c839181..076a88c6801939fee81475572ed9240c7e61b8b6 100644
(file)
--- a/
tracker/http/peer.go
+++ b/
tracker/http/peer.go
@@
-1,4
+1,4
@@
-package http
+package http
Tracker
import (
"fmt"
diff --git
a/tracker/http/protocol.go
b/tracker/http/protocol.go
index aa6d78d4e469b795dc74670beb8b723e957ad056..5ce9fa90cf2d32beea36ee1a18afca5ea1b75f29 100644
(file)
--- a/
tracker/http/protocol.go
+++ b/
tracker/http/protocol.go
@@
-1,4
+1,4
@@
-package http
+package http
Tracker
import (
"fmt"
diff --git
a/wstracker.go
b/wstracker.go
index 431863a064bd0c9ee44a3a630659d25c0f79ba4e..9b1a92016a6e59fa96683d7c12650e769ffc1903 100644
(file)
--- a/
wstracker.go
+++ b/
wstracker.go
@@
-41,7
+41,7
@@
type websocketTrackers struct {
OnConn func(datachannel.ReadWriteCloser, webtorrent.DataChannelContext)
mu sync.Mutex
clients map[string]*refCountedWebtorrentTrackerClient
- Proxy http.ProxyFunc
+ Proxy http
Tracker
.ProxyFunc
DialContext func(ctx context.Context, network, addr string) (net.Conn, error)
}