Rename tracker/http package
This commit is contained in:
parent
50a665f278
commit
b81423c101
|
@ -1,4 +1,4 @@
|
||||||
package http
|
package httpTracker
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package http
|
package httpTracker
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package http
|
package httpTracker
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package http
|
package httpTracker
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package http
|
package httpTracker
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -41,7 +41,7 @@ type websocketTrackers struct {
|
||||||
OnConn func(datachannel.ReadWriteCloser, webtorrent.DataChannelContext)
|
OnConn func(datachannel.ReadWriteCloser, webtorrent.DataChannelContext)
|
||||||
mu sync.Mutex
|
mu sync.Mutex
|
||||||
clients map[string]*refCountedWebtorrentTrackerClient
|
clients map[string]*refCountedWebtorrentTrackerClient
|
||||||
Proxy http.ProxyFunc
|
Proxy httpTracker.ProxyFunc
|
||||||
DialContext func(ctx context.Context, network, addr string) (net.Conn, error)
|
DialContext func(ctx context.Context, network, addr string) (net.Conn, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue