golang.org/x/crypto/ssh/knownhosts.addr.port (field)
8 uses
golang.org/x/crypto/ssh/knownhosts (current package)
knownhosts.go#L31: type addr struct{ host, port string }
knownhosts.go#L38: return h + ":" + a.port
knownhosts.go#L110: return wildcardMatch([]byte(p.addr.host), []byte(a.host)) && p.addr.port == a.port
knownhosts.go#L151: a := addr{host: h, port: p}
knownhosts.go#L269: a.host, a.port, err = net.SplitHostPort(p)
knownhosts.go#L274: a.host, a.port, err = net.SplitHostPort(p)
knownhosts.go#L277: a.port = "22"
![]() |
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. |