- 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)
- }
|