feat: add working watchdog cycle

This commit is contained in:
DaanSelen
2026-04-22 11:51:57 +02:00
parent bf04e97850
commit 0c287cc917
10 changed files with 166 additions and 82 deletions
+4
View File
@@ -19,3 +19,7 @@ func GetFiles(db *gorm.DB) ([]File, error) {
func RegisterFile(db *gorm.DB, f File) error {
return db.Create(&f).Error
}
func DeregisterFile(db *gorm.DB, f File) error {
return db.Delete(&f).Error
}