Merge remote-tracking branch 'upstream/main' into dns-hosts

This commit is contained in:
j2rong4cn 2025-05-16 17:13:08 +08:00
commit a87e96b773
9 changed files with 29 additions and 71 deletions

View file

@ -24,10 +24,6 @@ type Client interface {
LookupIP(domain string, option IPOption) ([]net.IP, uint32, error)
}
type HostsLookup interface {
LookupHosts(domain string) *net.Address
}
// ClientType returns the type of Client interface. Can be used for implementing common.HasType.
//
// xray:api:beta