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 ¶
Click to show internal directories.
Click to hide internal directories.