Rewrite to rust

This commit is contained in:
2023-01-16 09:37:28 +01:00
parent 5f7970fbe5
commit 84e38d3613
26 changed files with 2918 additions and 1496 deletions

View File

@@ -1,11 +0,0 @@
import os
import httpx
response = httpx.get(
"http://localhost:8080/api/v1/healthcheck",
headers={"Authorization": os.environ["API_KEY"]},
)
print(f"HEALTHCHECK STATUS: {response.status_code}")
exit(0 if response.status_code == 200 else 1)