Documentation ¶
Index ¶
Constants ¶
View Source
const MessageName = "process_torrent"
Variables ¶
This section is empty.
Functions ¶
func NewQueueJob ¶ added in v0.7.0
func NewQueueJob(msg MessageParams, options ...model.QueueJobOption) (model.QueueJob, error)
Types ¶
type ClassifyMode ¶
type ClassifyMode int
const ( // ClassifyModeDefault will use any pre-existing content match as a hint // This is the most common use case and will only attempt to match previously unmatched torrents ClassifyModeDefault ClassifyMode = iota // ClassifyModeRematch will ignore any pre-existing classification and always classify from scratch // This is useful if there are errors in matches from an earlier version that need to be corrected ClassifyModeRematch )
type MessageParams ¶
type MessageParams struct { ClassifyMode ClassifyMode ClassifierWorkflow string InfoHashes []protocol.ID }
type MissingHashesError ¶
func (MissingHashesError) Error ¶
func (e MissingHashesError) Error() string
Click to show internal directories.
Click to hide internal directories.