Description

UserAgent returns the user agent of the remote peer.

This function is safe for concurrent access.

UserAgent is referenced in 2 repositories

github.com/btcsuite/btcd

...