MCPcopy Index your code
hub / github.com/celzero/firestack / CanUseProxy

Function CanUseProxy

intra/dnsx/transport.go:1598–1610  ·  view source on GitHub ↗

CanUseProxy returns true if transport with id can be safely proxied over another network. For example, Goos, Local, System cannot be. Preset is a transport that needn't be. Default and Bootstrap can be proxied if they are not mapped to System/Goos, or if proxying is allowed (via setting) for Default

(id string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

newTransportFunction · 0.92
QueryMethod · 0.92

Calls 1

canProxyDefaultFunction · 0.85

Tested by

no test coverage detected