MCPcopy Create free account
hub / github.com/Shopify/goose / LookupAddr

Method LookupAddr

resolver/timeout_resolver.go:77–82  ·  view source on GitHub ↗
(ctx context.Context, addr string)

Source from the content-addressed store, hash-verified

75}
76
77func (r *timeoutResolver) LookupAddr(ctx context.Context, addr string) (names []string, err error) {
78 ctx, cancel := context.WithTimeout(ctx, r.timeout)
79 defer cancel()
80
81 return r.lookup.LookupAddr(ctx, addr)
82}

Callers

nothing calls this directly

Calls 1

LookupAddrMethod · 0.65

Tested by

no test coverage detected