Description

Disconnect disconnects the peer by closing the connection. Calling this function when the peer is already disconnected or in the process of disconnecting will have no effect.

Disconnect is referenced in 2 repositories

github.com/btcsuite/btcd

...