MCPcopy Create free account
hub / github.com/celzero/firestack / AddProxy

Method AddProxy

intra/backend/ipn_proxies.go:323–323  ·  view source on GitHub ↗

Add adds a proxy to this multi-transport. "id" is a free-form unique identifier for this proxy, except: "id" for WireGuard proxies must be prefixed with [WG] "url" is WireGuard UAPI configuration. For HTTP1 and SOCKS5 proxies, "url" must be of the form: scheme://usr:pwd@domain.tld:port/p/a/t/h?q&u=e

(id, url string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestWgReachesFunction · 0.65
TestProxyReachesFunction · 0.65

Implementers 1

proxifierintra/ipn/proxies.go

Calls

no outgoing calls

Tested by 2

TestWgReachesFunction · 0.52
TestProxyReachesFunction · 0.52