MCPcopy Index your code
hub / github.com/gorilla/websocket / AddIP

Method AddIP

x_net_proxy.go:129–131  ·  view source on GitHub ↗

AddIP specifies an IP address that will use the bypass proxy. Note that this will only take effect if a literal IP address is dialed. A connection to a named host will never match an IP.

(ip net.IP)

Source from the content-addressed store, hash-verified

127// this will only take effect if a literal IP address is dialed. A connection
128// to a named host will never match an IP.
129func (p *proxy_PerHost) AddIP(ip net.IP) {
130 p.bypassIPs = append(p.bypassIPs, ip)
131}
132
133// AddNetwork specifies an IP range that will use the bypass proxy. Note that
134// this will only take effect if a literal IP address is dialed. A connection

Callers 1

AddFromStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected