mirror of
https://github.com/wneessen/go-hibp.git
synced 2025-07-15 20:17:54 +02:00
No description
Switch version number back to v1.x.x since I really don't want to mess with Go's v2 mechanic (some Go tools are not v2 aware and therefore we would need to branch the new version to a v2 branch or subdir, which I really don't wanna do). This breaks with semver semantics, but it is, what it is. |
||
---|---|---|
.github | ||
LICENSES | ||
md4 | ||
testdata | ||
.gitignore | ||
.golangci.toml | ||
breach.go | ||
breach_test.go | ||
codecov.yml | ||
go.mod | ||
go.sum | ||
go.sum.license | ||
hibp.go | ||
hibp_test.go | ||
json.go | ||
json_test.go | ||
LICENSE | ||
password.go | ||
password_test.go | ||
paste.go | ||
paste_test.go | ||
README.md | ||
REUSE.toml | ||
sonar-project.properties | ||
subscription.go | ||
subscription_test.go |
go-hibp - Simple Go binding to the "Have I Been Pwned" API
This Go library provides simple bindings to the excellent "Have I Been Pwned" (HIBP) API by Troy Hunt. It implements all 3 APIs that are provided by HIBP (Breaches, Pastes, Passwords). API key support for the private API endpoints are supported as well. go-hibp follows idiomatic Go style and best practice. It's only depends on the Go standard library and one of my other packages: niljson.
Usage
The library is fully documented using the excellent GoDoc functionality. Check out the GoDocs Reference for details on how to implement access to any of the 3 APIs with this package. You will also find GoDoc code examples there for each of those APIs.