1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 10:26:01 -05:00
v2fly/app/dns/dns.go
2016-05-17 23:05:52 -07:00

17 lines
209 B
Go

package dns
import (
"net"
"github.com/v2ray/v2ray-core/app"
)
const (
APP_ID = app.ID(2)
)
// A DnsCache is an internal cache of DNS resolutions.
type Server interface {
Get(domain string) []net.IP
}