1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-30 07:46:41 -04:00
v2fly/features/dns/client.go

17 lines
283 B
Go
Raw Normal View History

2018-10-11 16:34:31 -04:00
package dns
import (
2018-10-11 17:09:15 -04:00
"v2ray.com/core/common/net"
2018-10-11 16:34:31 -04:00
"v2ray.com/core/features"
)
// Client is a V2Ray feature for querying DNS information.
type Client interface {
features.Feature
LookupIP(host string) ([]net.IP, error)
}
2018-10-12 17:57:56 -04:00
func ClientType() interface{} {
return (*Client)(nil)
}