autobrr/internal/domain/event.go
ze0s 40fe3e9f54
fix(indexers): delete feed with indexer (#1810)
* fix(indexers): delete feed in one go

* fix(indexers): sort imports

* refactor(feeds): db methods for find
2024-11-06 20:48:46 +01:00

29 lines
801 B
Go

// Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
// SPDX-License-Identifier: GPL-2.0-or-later
package domain
import "time"
const (
EventReleaseStoreActionStatus = "release:store-action-status"
EventReleasePushStatus = "release:push"
EventNotificationSend = "events:notification"
EventIndexerDelete = "indexer:delete"
)
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, usenet
Implementation ReleaseImplementation // irc, rss, api
Timestamp time.Time
}