func net.JoinHostPort
31 uses
net (current package)
dnsconfig_unix.go#L78: conf.servers = append(conf.servers, JoinHostPort(f[1], "53"))
dnsconfig_unix.go#L80: conf.servers = append(conf.servers, JoinHostPort(f[1], "53"))
ipsock.go#L227: func JoinHostPort(host, port string) string {
tcpsock.go#L34: return JoinHostPort(ip+"%"+a.Zone, itoa(a.Port))
tcpsock.go#L36: return JoinHostPort(ip, itoa(a.Port))
udpsock.go#L37: return JoinHostPort(ip+"%"+a.Zone, itoa(a.Port))
udpsock.go#L39: return JoinHostPort(ip, itoa(a.Port))
net/http
h2_bundle.go#L6963: return net.JoinHostPort(host, port)
request.go#L761: return net.JoinHostPort(a, port)
socks_bundle.go#L255: return net.JoinHostPort(a.Name, port)
socks_bundle.go#L257: return net.JoinHostPort(a.IP.String(), port)
transport.go#L2728: return net.JoinHostPort(addr, port)
github.com/evanw/esbuild/pkg/api
serve_other.go#L498: if result, err := net.Listen(network, net.JoinHostPort(host, fmt.Sprintf("%d", port))); err == nil {
serve_other.go#L506: if result, err := net.Listen(network, net.JoinHostPort(host, fmt.Sprintf("%d", serveOptions.Port))); err != nil {
github.com/go-redis/redis/v8
cluster.go#L515: return net.JoinHostPort(originHost, nodePort)
command.go#L1726: nodes[j].Addr = net.JoinHostPort(ip, port)
options.go#L222: o.Addr = net.JoinHostPort(h, p)
sentinel.go#L480: addr := net.JoinHostPort(masterAddr[0], masterAddr[1])
sentinel.go#L539: return net.JoinHostPort(addr[0], addr[1])
sentinel.go#L582: nodes = append(nodes, net.JoinHostPort(ip, port))
sentinel.go#L660: addr := net.JoinHostPort(parts[3], parts[4])
github.com/jackc/pgconn
config.go#L109: address = net.JoinHostPort(host, strconv.Itoa(int(port)))
github.com/lib/pq
conn.go#L378: return "tcp", net.JoinHostPort(host, o["port"])
golang.org/x/net/http/httpguts
httplex.go#L345: return net.JoinHostPort(host, port), nil
golang.org/x/net/http2
transport.go#L460: return net.JoinHostPort(host, 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)
google.golang.org/grpc/internal/resolver/dns
dns_resolver.go#L94: authorityWithPort := net.JoinHostPort(host, port)
vendor/golang.org/x/net/http/httpguts
httplex.go#L345: return net.JoinHostPort(host, port), nil
vendor/golang.org/x/net/http/httpproxy
proxy.go#L290: return net.JoinHostPort(addr, port)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |