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

Method LookupNS

resolver/timeout_resolver.go:63–68  ·  view source on GitHub ↗
(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

61}
62
63func (r *timeoutResolver) LookupNS(ctx context.Context, name string) (records []*net.NS, err error) {
64 ctx, cancel := context.WithTimeout(ctx, r.timeout)
65 defer cancel()
66
67 return r.lookup.LookupNS(ctx, name)
68}
69
70func (r *timeoutResolver) LookupTXT(ctx context.Context, name string) (records []string, err error) {
71 ctx, cancel := context.WithTimeout(ctx, r.timeout)

Callers

nothing calls this directly

Calls 1

LookupNSMethod · 0.65

Tested by

no test coverage detected