feat: publish standalone worker
Separate worker packaging and service lifecycle from the control plane.
Этот коммит содержится в:
23
app/models/whois.go
Обычный файл
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
|
||||
}
|
||||
Ссылка в новой задаче
Block a user