autobrr/internal/domain/event.go
Ludvig Lundgren a3854ecd59
refactor: filter and action flow (#225)
* refactor: fitler and action flow

* fix: save release before filters

* feat: add action client to notifications

* feat: improve filter check logging
2022-04-09 21:20:26 +02:00

19 lines
444 B
Go

package domain
import "time"
type EventsReleasePushed struct {
ReleaseName string
Filter string
Indexer string
InfoHash string
Size uint64
Status ReleasePushStatus
Action string
ActionType ActionType
ActionClient string
Rejections []string
Protocol ReleaseProtocol // torrent
Implementation ReleaseImplementation // irc, rss, api
Timestamp time.Time
}