MCPcopy
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
235func resolveIP(ip string) (*net.IPAddr, error) {
236 return net.ResolveIPAddr("ip", ip)
237}
238
239func resolveIPPAndPort(addr string) (string, error) {
240 host, port, err := net.SplitHostPort(addr)

Callers 1

resolveIPPAndPortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected