Documentation
¶
Index ¶
Constants ¶
View Source
const ( PLUGIN_NAME = "coreadblock" BLOOM_SIZE = 50000 * 20 HASH_SIZE = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreAdBlock ¶
type CoreAdBlock struct {
Next plugin.Handler
Urls []string
ResolveIP string
Exceptions map[string]bool
BlockList *sync.Map
Bloom *bloom.BloomFilter
// contains filtered or unexported fields
}
func (*CoreAdBlock) LoadRules ¶
func (c *CoreAdBlock) LoadRules() error
func (*CoreAdBlock) Name ¶
func (c *CoreAdBlock) Name() string
func (*CoreAdBlock) Ready ¶
func (c *CoreAdBlock) Ready() bool
Click to show internal directories.
Click to hide internal directories.