Remove unused type

This commit is contained in:
Matt Joiner 2018-11-28 10:26:13 +11:00
parent 3ba991e38a
commit 70f63b2991
1 changed files with 0 additions and 6 deletions

View File

@ -89,12 +89,6 @@ func (cl *Client) PeerID() PeerID {
return cl.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) { func (cl *Client) LocalPort() (port int) {
cl.eachListener(func(l socket) bool { cl.eachListener(func(l socket) bool {
_port := missinggo.AddrPort(l.Addr()) _port := missinggo.AddrPort(l.Addr())