Commit graph

15 commits

Author SHA1 Message Date
43c99d2889
Merge remote-tracking branch 'origin/main' 2022-05-07 15:59:57 +02:00
49b2ac95f6
More test coverage 2022-05-07 15:59:20 +02:00
af15c66865
Adding RateLimitSleep() to all tests 2022-05-07 14:55:33 +02:00
7da9c54633
Makes no sense to return a Client pointer. Also cleaned up examples directory 2021-09-22 15:46:36 +02:00
297b5b86f1
More idiomatic naming for the rate limit handling 2021-09-22 15:25:27 +02:00
8b29b608c4
Skip tests if no API key is given where required 2021-09-22 15:16:02 +02:00
c33397ed39
Make golinter happy 2021-09-22 15:10:10 +02:00
0af72e7207
Make golinter happy 2021-09-22 15:02:12 +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
213d2dc931 Make golinter happy 2021-09-21 19:58:03 +02:00
cf595cd5ea Make golinter happy 2021-09-21 19:56:05 +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