mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-17 17:48:40 +00:00
Merge remote-tracking branch 'upstream/main' into dns-hosts
This commit is contained in:
commit
a87e96b773
9 changed files with 29 additions and 71 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue