mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2024-12-26 23:30:27 +08:00
remove duplicate io.Closer on Network interface (#228)
This commit is contained in:
parent
2711d5a459
commit
a61ab2c0f1
@ -145,8 +145,6 @@ type Network interface {
|
|||||||
// listens. It expands "any interface" addresses (/ip4/0.0.0.0, /ip6/::) to
|
// listens. It expands "any interface" addresses (/ip4/0.0.0.0, /ip6/::) to
|
||||||
// use the known local interfaces.
|
// use the known local interfaces.
|
||||||
InterfaceListenAddresses() ([]ma.Multiaddr, error)
|
InterfaceListenAddresses() ([]ma.Multiaddr, error)
|
||||||
|
|
||||||
io.Closer
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dialer represents a service that can dial out to peers
|
// Dialer represents a service that can dial out to peers
|
||||||
|
Loading…
Reference in New Issue
Block a user