func net.JoinHostPort
18 uses
net (current package)
dnsconfig_unix.go#L57: conf.servers = append(conf.servers, JoinHostPort(f[1], "53"))
ipsock.go#L236: func JoinHostPort(host, port string) string {
tcpsock.go#L50: return JoinHostPort(ip+"%"+a.Zone, strconv.Itoa(a.Port))
tcpsock.go#L52: return JoinHostPort(ip, strconv.Itoa(a.Port))
udpsock.go#L50: return JoinHostPort(ip+"%"+a.Zone, strconv.Itoa(a.Port))
udpsock.go#L52: return JoinHostPort(ip, strconv.Itoa(a.Port))
net/http
clientconn.go#L157: targetAddr: net.JoinHostPort(host, port),
h2_bundle.go#L7876: return net.JoinHostPort(host, port)
socks_bundle.go#L255: return net.JoinHostPort(a.Name, port)
socks_bundle.go#L257: return net.JoinHostPort(a.IP.String(), port)
transport.go#L3038: return net.JoinHostPort(idnaASCIIFromURL(url), port)
github.com/gotd/td/session
telethon.go#L83: Addr: net.JoinHostPort(addr.String(), strconv.Itoa(int(port))),
github.com/gotd/td/telegram/dcs
plain.go#L75: addr := net.JoinHostPort(dc.IPAddress, strconv.Itoa(dc.Port))
golang.org/x/net/internal/socks
socks.go#L99: return net.JoinHostPort(a.Name, port)
socks.go#L101: return net.JoinHostPort(a.IP.String(), port)
golang.org/x/net/proxy
proxy.go#L98: return SOCKS5("tcp", net.JoinHostPort(addr, port), auth, forward)
vendor/golang.org/x/net/http/httpguts
httplex.go#L346: return net.JoinHostPort(host, port), nil
vendor/golang.org/x/net/http/httpproxy
proxy.go#L292: return net.JoinHostPort(addr, port)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |