feat: add http status code to responses

This commit is contained in:
Siesta
2025-07-28 21:13:20 +02:00
parent 59db9d263f
commit 9453fab912
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ type Config struct {
}
type HTTPResponse struct {
Status int `json:"status"`
Success bool `json:"success"`
Error string `json:"error,omitempty"`
Timestamp string `json:"timestamp"`