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

Method lookupfor

intra/dns53/ipmapper.go:250–255  ·  view source on GitHub ↗

lookupfor resolves q given a uid. If uid is protect.SelfUid, the client code (via DNSListener.OnQuery) may or may not choose dnsx.Default. If uid is any other "integer" including "-1" (core.UNKNOWN_UID_STR), the client code is free to choose a transport as it sees fit.

(q []byte, uid string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

queryIP2Method · 0.95
queryAny2Method · 0.95

Calls 1

LookupForMethod · 0.65

Tested by

no test coverage detected