aboutsummaryrefslogtreecommitdiff
path: root/backend/internal/model
diff options
context:
space:
mode:
authorzwlucas <lucas.fariamo08@gmail.com>2026-05-29 20:41:33 +0000
committerzwlucas <lucas.fariamo08@gmail.com>2026-05-29 20:41:33 +0000
commit9218d22954d61296a32c49373ab0f17f0be59cfe (patch)
tree595b94ce7c2b5eed9760f79e7781653d6b554d18 /backend/internal/model
parentd186a989b6808ff39fcd43a9f0b478aebc4aa346 (diff)
downloadyaum-9218d22954d61296a32c49373ab0f17f0be59cfe.tar.gz
yaum-9218d22954d61296a32c49373ab0f17f0be59cfe.zip
feat: add SSL info tracking and server metrics collection
Signed-off-by: zwlucas <lucas.fariamo08@gmail.com>
Diffstat (limited to 'backend/internal/model')
-rw-r--r--backend/internal/model/types.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/backend/internal/model/types.go b/backend/internal/model/types.go
index 4e439b8..40dc006 100644
--- a/backend/internal/model/types.go
+++ b/backend/internal/model/types.go
@@ -50,3 +50,11 @@ type ServiceWithHeartbeat struct {
Service
LastHeartbeat *Heartbeat `json:"last_heartbeat,omitempty"`
}
+
+type SSLInfo struct {
+ ServiceID int `json:"service_id"`
+ Issuer string `json:"issuer"`
+ ExpiresAt time.Time `json:"expires_at"`
+ DaysRemaining int `json:"days_remaining"`
+ CheckedAt time.Time `json:"checked_at"`
+}