Files
gost-core/hosts/hosts.go
T

11 lines
159 B
Go

package hosts
import (
"net"
)
// HostMapper is a mapping from hostname to IP.
type HostMapper interface {
Lookup(network, host string) ([]net.IP, bool)
}