Commit graph

11 commits

Author SHA1 Message Date
Shannon Wynter
f2f530e9c3 Add latestbreach api 2024-05-08 13:57:07 +10:00
Shannon Wynter
a68273e21f Add missing API 2024-04-03 15:31:21 +10:00
9c4b20b01e
Overhauling error handling of the different APIs as part of #24
- Overhauled the breaches API
- Added more tests
2022-12-22 11:55:06 +01:00
20ebd4c965
Implement a golangci-lint workflow and the accordingly GH action 2022-10-29 15:32:12 +02:00
a8623f1162
Fixed mixed pointer/copy assignment in ApiDate type 2022-10-01 16:05:50 +02:00
297b5b86f1
More idiomatic naming for the rate limit handling 2021-09-22 15:25:27 +02:00
48fec86658
Moved apiCall() from breach to hibp. Also introduced rate limit handling 2021-09-22 15:00:29 +02:00
ed7f680919
Added BreachedAccount() to breaches API
Also added WithUserAgent() to the HIBP client for custom UA configuration
2021-09-22 13:59:22 +02:00
0b3734da33
Added BreachByName() to breaches API 2021-09-22 09:46:18 +02:00
f7588a863c Introducing the breaches API
So far only the "list all breaches" API is implemented, though
2021-09-21 19:46:48 +02:00
277b45ec8d
Added breaches 2021-09-21 18:21:23 +02:00