From: Matt Joiner Date: Tue, 27 Nov 2018 23:26:13 +0000 (+1100) Subject: Remove unused type X-Git-Tag: v1.0.0~10 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=70f63b2991a8424fd3d3c29d7faad44420535f1d;p=btrtrc.git Remove unused type --- diff --git a/client.go b/client.go index 21919885..a896a97a 100644 --- 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())