Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSafebrowsingAPIKey = errors.New("no safebrowsing api key provided")
View Source
var SafeBrowser *safebrowsing.SafeBrowser
Functions ¶
func CheckString ¶
func CheckString(input string) (*safebrowsing.URLThreat, error)
CheckString checks a string against google safebrowsing for threats if the safebrowser is running on this process then it will perform the check instantly otherwise it will make a api request towards the safebrowsing proxy server (or return an error)
func RegisterPlugin ¶
func RegisterPlugin()
Types ¶
type Plugin ¶
type Plugin struct { }
func (*Plugin) PluginInfo ¶
func (p *Plugin) PluginInfo() *common.PluginInfo
func (*Plugin) RunBackgroundWorker ¶
func (p *Plugin) RunBackgroundWorker()
func (*Plugin) StopBackgroundWorker ¶
Click to show internal directories.
Click to hide internal directories.