]> Sergey Matveev's repositories - btrtrc.git/blob - wstracker.go
Create stub for websocket trackers
[btrtrc.git] / wstracker.go
1 package torrent
2
3 import (
4         "fmt"
5         "net/url"
6 )
7
8 type websocketTracker struct {
9         url url.URL
10 }
11
12 func (me websocketTracker) statusLine() string {
13         return fmt.Sprintf("%q", me.url.String())
14 }
15
16 func (me websocketTracker) URL() url.URL {
17         return me.url
18 }