feat: publish standalone worker

Separate worker packaging and service lifecycle from the control plane.
Этот коммит содержится в:
Gleb Tv
2026-07-13 17:55:14 +03:00
Коммит 2c7a0236da
309 изменённых файлов: 44004 добавлений и 0 удалений

23
app/models/whois.go Обычный файл
Просмотреть файл

@@ -0,0 +1,23 @@
package models
import (
"time"
"github.com/lib/pq"
"rsgit.ru/rsmon/rsmon/app/models/concerns"
)
// Whois provides functionality.
type Whois struct {
concerns.Model
MonitorID *int64
Monitor *Monitor
Tld string
Nameservers pq.StringArray `gorm:"type:varchar(255)[]"`
Expires *time.Time
UpdatedAt *time.Time
Data string
}