Versions in this module Expand all Collapse all v0 v0.33.0 Apr 29, 2021 v0.32.0 Apr 29, 2021 Changes in this version + type MockResolver struct + func New(hosts map[string][]net.IP, fallback func(host string) ([]net.IP, error)) *MockResolver + func (r *MockResolver) LookupIP(host string) (net.IP, error) + func (r *MockResolver) LookupIPAll(host string) ([]net.IP, error) + func (r *MockResolver) Set(host, ip string) + func (r *MockResolver) Unset(host string)