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

Function NewOdohTransport

intra/doh/doh.go:130–132  ·  view source on GitHub ↗

NewTransport returns a POST-only Oblivious DoH transport. `id` identifies this transport. `endpoint` is the ODoH proxy that liaisons with the target. `target` is the ODoH resolver. `addrs` is a list of IP addresses to bootstrap endpoint dialers. `px` is the proxy provider, never nil.

(ctx context.Context, id, endpoint, target string, addrs []string, px ipn.ProxyProvider)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

AddODoHTransportFunction · 0.92

Calls 1

newTransportFunction · 0.70

Tested by

no test coverage detected