v2fly/features/dns/client.go

14 lines
204 B
Go
Raw Normal View History

2018-10-11 20:34:31 +00:00
package dns
import (
"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)
}