]> Sergey Matveev's repositories - btrtrc.git/blobdiff - wstracker.go
Rename tracker/http package
[btrtrc.git] / wstracker.go
index 431863a064bd0c9ee44a3a630659d25c0f79ba4e..9b1a92016a6e59fa96683d7c12650e769ffc1903 100644 (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)
 }