Documentation ¶
Overview ¶
Package api implements an HIBP API client.
Example ¶
matches, err := Lookup("sha1sum of secret") if err != nil { panic(err) } fmt.Printf("Number of matches: %d", matches)
Output:
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var URL = "https://api.pwnedpasswords.com"
URL is the HIBPv2 API URL
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.