Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WhitelistDB ¶
WhitelistDB stores domains imported from whitelist
func (*WhitelistDB) Init ¶
func (w *WhitelistDB) Init(file string)
Init Initializes whitelist db. Default to CISCO Umbrella top sites.
func (*WhitelistDB) Lookup ¶
func (w *WhitelistDB) Lookup(domain string) int
Lookup returns the rank in WL if entry is present
Click to show internal directories.
Click to hide internal directories.