Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/windtf/wireproxy
/ resolveIP
Function
resolveIP
config.go:235–237 ·
view source on GitHub ↗
(ip string)
Source
from the content-addressed store, hash-verified
233
}
234
235
func
resolveIP(ip string) (*net.IPAddr, error) {
236
return
net.ResolveIPAddr(
"ip"
, ip)
237
}
238
239
func
resolveIPPAndPort(addr string) (string, error) {
240
host, port, err := net.SplitHostPort(addr)
Callers
1
resolveIPPAndPort
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected