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

Method LookupTXT

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

Source from the content-addressed store, hash-verified

68}
69
70func (r *timeoutResolver) LookupTXT(ctx context.Context, name string) (records []string, err error) {
71 ctx, cancel := context.WithTimeout(ctx, r.timeout)
72 defer cancel()
73
74 return r.lookup.LookupTXT(ctx, name)
75}
76
77func (r *timeoutResolver) LookupAddr(ctx context.Context, addr string) (names []string, err error) {
78 ctx, cancel := context.WithTimeout(ctx, r.timeout)

Callers

nothing calls this directly

Calls 1

LookupTXTMethod · 0.65

Tested by

no test coverage detected