Update docstring of DialArgs

This commit is contained in:
Cole Brown 2018-12-04 10:21:33 -05:00
parent f03b69ca9b
commit a86fb2b318

View File

@ -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