net.IPNet.Contains (method)
5 uses
net (current package)
addrselect.go#L310: if ent.Prefix.Contains(ip) {
ip.go#L499: func (n *IPNet) Contains(ip IP) bool {
golang.org/x/crypto/ssh
server.go#L315: if ipNet.Contains(tcpAddr.IP) {
golang.org/x/net/proxy
per_host.go#L62: if net.Contains(ip) {
vendor/golang.org/x/net/http/httpproxy
proxy.go#L341: return m.cidr.Contains(ip)
![]() |
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. |