You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This mocks net.LookupIP with a wrapper type. In future, this might
be easier to accomplish with the help of the standard library (see
discussion in golang/go#12503).
With muety#1 in the
pipeline, I might consider swapping the stdlib resolver with a
full fledged DNS client (github.com/miekg/dns), as the stdlib
resolver does not return TTL values.
This mocks net.LookupIP with a wrapper type. In future, this might
be easier to accomplish with the help of the standard library (see
discussion in golang/go#12503).
With muety#1 in the pipeline, I might consider
swapping the stdlib resolver with a full fledged DNS client
(github.com/miekg/dns), as the stdlib resolver does not return
TTL values.
https://stackoverflow.com/a/48997354/3112139
The text was updated successfully, but these errors were encountered: