1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-29 18:45:23 +00:00
v2fly/features/dns/client.go
2018-10-12 23:57:56 +02:00

17 lines
283 B
Go

package dns
import (
"v2ray.com/core/common/net"
"v2ray.com/core/features"
)
// Client is a V2Ray feature for querying DNS information.
type Client interface {
features.Feature
LookupIP(host string) ([]net.IP, error)
}
func ClientType() interface{} {
return (*Client)(nil)
}