Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ComplexRule ¶ added in v0.3.15
type Match ¶
type Match uint8
a match can be: allow (don't block, override/bypass block) block (explicit block) none (no reason found to block or allow)
type Store ¶ added in v0.6.11
type Store interface { Init(sessionRoot string, config *config.GudgeonConfig, lists []*config.GudgeonList) Load(list *config.GudgeonList, rule string) Clear(config *config.GudgeonConfig, list *config.GudgeonList) Finalize(sessionRoot string, lists []*config.GudgeonList) FindMatch(lists []*config.GudgeonList, domain string) (Match, *config.GudgeonList, string) Close() }
func CreateStore ¶
func CreateStore(storeRoot string, conf *config.GudgeonConfig) (Store, []uint64)
stores are created from lists of files inside a configuration
Click to show internal directories.
Click to hide internal directories.