Documentation ¶
Index ¶
Constants ¶
View Source
const ( FILTER_ACTION_UNSPECIFIC = iota FILTER_ACTION_BLOCK FILTER_ACTION_PASS )
View Source
const ( FILTER_BLACK = false FILTER_WHITE = true )
Variables ¶
This section is empty.
Functions ¶
func LoadFilter ¶
Types ¶
type DnsServer ¶
type DnsServer struct {
// contains filtered or unexported fields
}
func StartDnsServer ¶
func StartDnsServer(dnsConfig config.DnsConfig, pacMgr *pac.PacListMgr, routingMgr *routing.RoutingMgr, proxyClient common.ProxyClientInterface) (ret *DnsServer, err error)
func (*DnsServer) AddDnsCache ¶
func (*DnsServer) ServerDNSPacket ¶
Click to show internal directories.
Click to hide internal directories.