mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00

* chore: update copyright year in license headers * Revert "chore: update copyright year in license headers" This reverts commit 3e58129c431b9a491089ce36b908f9bb6ba38ed3. * chore: update copyright year in license headers * fix: sort go imports * fix: add missing license headers
29 lines
801 B
Go
29 lines
801 B
Go
// Copyright (c) 2021 - 2025, 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
|
|
}
|