Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePatterns ¶
GeneratePatterns from url
func ParseURL ¶
ParseURL parses the given string and returns the results and true if the url was Safe Browsing cmopatible.
func ValidURL ¶
ValidURL parses the given string and returns true if it is a Safe Browsing compatible URL.
In general, clients can (and should) just call LookupURLs, which performs the same checks internally. This method can be useful when checking a batch of URLs, as the first parse failure will cause LookupURLs to stop processing the request and return an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.