rename dnsfContext -> dnsFilterContext
This commit is contained in:
parent
2307f55715
commit
42b76ada9d
|
@ -128,7 +128,7 @@ const (
|
||||||
FilteredSafeSearch
|
FilteredSafeSearch
|
||||||
)
|
)
|
||||||
|
|
||||||
type dnsfContext struct {
|
type dnsFilterContext struct {
|
||||||
stats Stats
|
stats Stats
|
||||||
dialCache gcache.Cache // "host" -> "IP" cache for safebrowsing and parental control servers
|
dialCache gcache.Cache // "host" -> "IP" cache for safebrowsing and parental control servers
|
||||||
safebrowsingCache gcache.Cache
|
safebrowsingCache gcache.Cache
|
||||||
|
@ -136,7 +136,7 @@ type dnsfContext struct {
|
||||||
safeSearchCache gcache.Cache
|
safeSearchCache gcache.Cache
|
||||||
}
|
}
|
||||||
|
|
||||||
var gctx dnsfContext // global dnsfilter context
|
var gctx dnsFilterContext // global dnsfilter context
|
||||||
|
|
||||||
// Result holds state of hostname check
|
// Result holds state of hostname check
|
||||||
type Result struct {
|
type Result struct {
|
||||||
|
|
Loading…
Reference in New Issue