mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-29 18:51:22 +00:00
15 lines
274 B
Go
15 lines
274 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type OAuth2State struct {
|
|
State string `gorm:"primary_key"`
|
|
Expiry time.Time
|
|
}
|
|
|
|
type Healthcheck struct {
|
|
ID uint `gorm:"primary_key"`
|
|
Name string
|
|
Status string // UP, DOWN
|
|
UptimePercentage float64
|
|
}
|