Rename tracker/http package

This commit is contained in:
Matt Joiner 2022-12-05 17:50:39 +11:00
parent 50a665f278
commit b81423c101
No known key found for this signature in database
GPG Key ID: 6B990B8185E7F782
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
package http
package httpTracker
import (
"context"

View File

@ -1,4 +1,4 @@
package http
package httpTracker
import (
"bytes"

View File

@ -1,4 +1,4 @@
package http
package httpTracker
import (
"net/url"

View File

@ -1,4 +1,4 @@
package http
package httpTracker
import (
"fmt"

View File

@ -1,4 +1,4 @@
package http
package httpTracker
import (
"fmt"

View File

@ -41,7 +41,7 @@ type websocketTrackers struct {
OnConn func(datachannel.ReadWriteCloser, webtorrent.DataChannelContext)
mu sync.Mutex
clients map[string]*refCountedWebtorrentTrackerClient
Proxy http.ProxyFunc
Proxy httpTracker.ProxyFunc
DialContext func(ctx context.Context, network, addr string) (net.Conn, error)
}