|
fe1838c7f4
|
Run go fmt
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-21 00:15:54 +01:00 |
|
|
49d2cd439e
|
Fix status code in response body
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-21 00:11:22 +01:00 |
|
|
c8d040d8b8
|
Refactor
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-21 00:10:17 +01:00 |
|
|
a0cb9d8075
|
Refactor
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-21 00:07:50 +01:00 |
|
|
304584fc66
|
Refactor
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-21 00:00:23 +01:00 |
|
|
5d3085a311
|
Use log instead of fmt
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-20 23:51:23 +01:00 |
|
|
763ad185a4
|
Make the port number configurable
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-20 23:49:24 +01:00 |
|
|
6b5592a10c
|
Refactor
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-20 23:41:05 +01:00 |
|
|
fe620bc9d9
|
Display a message when there has been an error
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-20 23:37:37 +01:00 |
|
|
075bbaac5e
|
Return a JSON object if the response is successful
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-20 23:33:48 +01:00 |
|
|
ffc74d88ed
|
Refactor
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-20 23:27:59 +01:00 |
|
|
df64a01ebe
|
Check for a force-fail header and set it as the
...response code
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-20 23:22:30 +01:00 |
|
|
fd6bac6da7
|
Return an empty JSON object with a 200 response
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
|
2025-09-20 23:16:29 +01:00 |
|