aboutsummaryrefslogtreecommitdiff
path: root/backend/internal/model
diff options
context:
space:
mode:
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"`
+}