mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-17 18:06:15 -05:00
12 lines
173 B
Go
12 lines
173 B
Go
package app
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
// A DnsCache is an internal cache of DNS resolutions.
|
|
type DnsCache interface {
|
|
Get(domain string) net.IP
|
|
Add(domain string, ip net.IP)
|
|
}
|