MCPcopy Create free account
hub / github.com/Jigsaw-Code/Intra / NewDoHServer

Function NewDoHServer

Android/app/src/go/backend/doh.go:42–55  ·  view source on GitHub ↗

NewDoHServer creates a DoHServer that connects to the specified DoH server. url is the URL of a DoH server (no template, POST-only). ipsStr is an optional comma-separated list of IP addresses for the server. It will be used when the url cannot be resolved to working IP addresses. (string is requir

(
	url string, ipsStr string, protector protect.Protector, listener DoHListener,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

MakeDialerFunction · 0.92
NewResolverFunction · 0.92
makeInternalDoHListenerFunction · 0.85

Tested by

no test coverage detected