Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lists ¶
type Lists struct { Suspicious []string `json:"suspicious"` Advertising []string `json:"advertising"` Tracking []string `json:"tracking"` Malicious []string `json:"malicious"` Miners []string `json:"miners"` }
Lists represents the embedded JSON file containing default source lists.
func Defaults ¶
func Defaults() *Lists
Defaults returns the default set of source lists.
The default set of source lists are embedded as statics/sources.json which we then simply unmarshal at runtime.
Click to show internal directories.
Click to hide internal directories.