]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Remove unused type
authorMatt Joiner <anacrolix@gmail.com>
Tue, 27 Nov 2018 23:26:13 +0000 (10:26 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 27 Nov 2018 23:26:13 +0000 (10:26 +1100)
client.go

index 219198853683c42063a03229c4a9a9d81779ec64..a896a97a35c89d98f85faf50f6b9c0dd47e0e62e 100644 (file)
--- a/client.go
+++ b/client.go
@@ -89,12 +89,6 @@ func (cl *Client) PeerID() PeerID {
        return cl.peerID
 }
 
-type torrentAddr string
-
-func (torrentAddr) Network() string { return "" }
-
-func (me torrentAddr) String() string { return string(me) }
-
 func (cl *Client) LocalPort() (port int) {
        cl.eachListener(func(l socket) bool {
                _port := missinggo.AddrPort(l.Addr())