func net.SplitHostPort
11 uses
net (current package)
ipsock.go#L165: func SplitHostPort(hostport string) (host, port string, err error) {
ipsock.go#L258: if host, port, err = SplitHostPort(addr); err != nil {
net/http
h2_bundle.go#L7703: host, port, err := net.SplitHostPort(authority)
h2_bundle.go#L7839: host, _, err := net.SplitHostPort(addr)
server.go#L2551: host, _, err := net.SplitHostPort(h)
socks_bundle.go#L162: host, port, err := net.SplitHostPort(address)
transport.go#L1735: if firstTLSHost, _, err = net.SplitHostPort(cm.addr()); err != nil {
crypto/x509
verify.go#L432: host, _, err = net.SplitHostPort(uri.Host)
vendor/golang.org/x/net/http/httpguts
httplex.go#L329: host, port, err := net.SplitHostPort(v)
vendor/golang.org/x/net/http/httpproxy
proxy.go#L174: host, port, err := net.SplitHostPort(addr)
proxy.go#L234: phost, pport, err := net.SplitHostPort(p)
 |
The pages are generated with Golds v0.7.6. (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. |