diff options
| author | zwlucas <lucas.fariamo08@gmail.com> | 2026-05-29 20:41:33 +0000 |
|---|---|---|
| committer | zwlucas <lucas.fariamo08@gmail.com> | 2026-05-29 20:41:33 +0000 |
| commit | 9218d22954d61296a32c49373ab0f17f0be59cfe (patch) | |
| tree | 595b94ce7c2b5eed9760f79e7781653d6b554d18 /backend/internal/model/types.go | |
| parent | d186a989b6808ff39fcd43a9f0b478aebc4aa346 (diff) | |
| download | yaum-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/types.go')
| -rw-r--r-- | backend/internal/model/types.go | 8 |
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"` +} |