mirror of
https://github.com/waku-org/go-multiaddr.git
synced 2025-02-23 11:38:20 +00:00
Update docstring of DialArgs
This commit is contained in:
parent
f03b69ca9b
commit
a86fb2b318
@ -99,7 +99,8 @@ func FromIP(ip net.IP) (ma.Multiaddr, error) {
|
||||
|
||||
// DialArgs is a convenience function that returns network and address as
|
||||
// expected by net.Dial. See https://godoc.org/net#Dial for an overview of
|
||||
// possible return values (we do not support the unix* ones yet).
|
||||
// possible return values (we do not support the unixpacket ones yet). Unix
|
||||
// addresses do not, at present, compose.
|
||||
func DialArgs(m ma.Multiaddr) (string, string, error) {
|
||||
var (
|
||||
zone, network, ip, port string
|
||||
|
Loading…
x
Reference in New Issue
Block a user