Documentation ¶
Index ¶
- Constants
- Variables
- func ContentAlternativeIdentifierCriteria(refs ...model.ContentRef) query.Criteria
- func ContentCanonicalIdentifierCriteria(refs ...model.ContentRef) query.Criteria
- func ContentCollectionCriteria(refs ...model.ContentCollectionRef) query.Criteria
- func ContentCoreJoins() query.Option
- func ContentDefaultHydrate() query.Option
- func ContentDefaultOption() query.Option
- func ContentDefaultPreload() query.Option
- func ContentIdentifierCriteria(refs ...model.ContentRef) query.Criteria
- func ContentReleaseDateCriteria(dateRange model.DateRange) query.Criteria
- func ContentReleaseDateCriteriaString(dateRange string) query.Criteria
- func ContentTypeCriteria(types ...model.ContentType) query.Criteria
- func HydrateContentCollections() query.Option
- func HydrateTorrentContentContent() query.Option
- func HydrateTorrentContentTorrent(options ...HydrateTorrentContentTorrentOption) query.Option
- func OrderDirectionNames() []string
- func QueueJobQueueCriteria(queues ...string) query.Criteria
- func QueueJobQueueFacet(options ...query.FacetOption) query.Facet
- func QueueJobStatusCriteria(statuses ...model.QueueJobStatus) query.Criteria
- func QueueJobStatusFacet(options ...query.FacetOption) query.Facet
- func QueueJobsOrderByNames() []string
- func ReleaseYearFacet(options ...query.FacetOption) query.Facet
- func TorrentContentCoreJoins() query.Option
- func TorrentContentDefaultHydrate() query.Option
- func TorrentContentDefaultOption() query.Option
- func TorrentContentEpisodesCriteria(episodes model.Episodes) query.Criteria
- func TorrentContentGenreFacet(options ...query.FacetOption) query.Facet
- func TorrentContentInfoHashCriteria(infoHashes ...protocol.ID) query.Criteria
- func TorrentContentLanguageFacet(options ...query.FacetOption) query.Facet
- func TorrentContentOrderByNames() []string
- func TorrentContentTypeCriteria(types ...model.ContentType) query.Criteria
- func TorrentContentTypeFacet(options ...query.FacetOption) query.Facet
- func TorrentFileExtensionCriteria(extensions ...string) query.Criteria
- func TorrentFileInfoHashCriteria(infoHashes ...protocol.ID) query.Criteria
- func TorrentFileTypeCriteria(fileTypes ...model.FileType) query.Criteria
- func TorrentFileTypeFacet(options ...query.FacetOption) query.Facet
- func TorrentFilesOrderByNames() []string
- func TorrentInfoHashCriteria(infoHashes ...protocol.ID) query.Criteria
- func TorrentSourceCriteria(keys ...string) query.Criteria
- func TorrentSourceFacet(options ...query.FacetOption) query.Facet
- func TorrentTagCriteria(tagNames ...string) query.Criteria
- func TorrentTagsFacet(options ...query.FacetOption) query.Facet
- func Video3dFacet(options ...query.FacetOption) query.Facet
- func VideoCodecFacet(options ...query.FacetOption) query.Facet
- func VideoModifierFacet(options ...query.FacetOption) query.Facet
- func VideoResolutionFacet(options ...query.FacetOption) query.Facet
- func VideoSourceFacet(options ...query.FacetOption) query.Facet
- type ContentResult
- type ContentResultItem
- type ContentSearch
- type HydrateTorrentContentTorrentOption
- type NullOrderDirection
- type NullQueueJobsOrderBy
- type NullTorrentContentOrderBy
- type NullTorrentFilesOrderBy
- type OrderDirection
- func (x OrderDirection) IsValid() bool
- func (x OrderDirection) MarshalText() ([]byte, error)
- func (x *OrderDirection) Scan(value interface{}) (err error)
- func (x OrderDirection) String() string
- func (x *OrderDirection) UnmarshalText(text []byte) error
- func (x OrderDirection) Value() (driver.Value, error)
- type Params
- type QueueJobResult
- type QueueJobSearch
- type QueueJobsFullOrderBy
- type QueueJobsOrderBy
- func (ob QueueJobsOrderBy) Clauses(direction OrderDirection) []query.OrderByColumn
- func (x QueueJobsOrderBy) IsValid() bool
- func (x QueueJobsOrderBy) MarshalText() ([]byte, error)
- func (x *QueueJobsOrderBy) Scan(value interface{}) (err error)
- func (x QueueJobsOrderBy) String() string
- func (x *QueueJobsOrderBy) UnmarshalText(text []byte) error
- func (x QueueJobsOrderBy) Value() (driver.Value, error)
- type Result
- type Search
- type SuggestTagsQuery
- type SuggestedTag
- type TorrentContentFullOrderBy
- type TorrentContentOrderBy
- func (ob TorrentContentOrderBy) Clauses(direction OrderDirection) []query.OrderByColumn
- func (x TorrentContentOrderBy) IsValid() bool
- func (x TorrentContentOrderBy) MarshalText() ([]byte, error)
- func (x *TorrentContentOrderBy) Scan(value interface{}) (err error)
- func (x TorrentContentOrderBy) String() string
- func (x *TorrentContentOrderBy) UnmarshalText(text []byte) error
- func (x TorrentContentOrderBy) Value() (driver.Value, error)
- type TorrentContentResult
- type TorrentContentResultItem
- type TorrentContentSearch
- type TorrentFilesFullOrderBy
- type TorrentFilesOrderBy
- func (ob TorrentFilesOrderBy) Clauses(direction OrderDirection) []query.OrderByColumn
- func (x TorrentFilesOrderBy) IsValid() bool
- func (x TorrentFilesOrderBy) MarshalText() ([]byte, error)
- func (x *TorrentFilesOrderBy) Scan(value interface{}) (err error)
- func (x TorrentFilesOrderBy) String() string
- func (x *TorrentFilesOrderBy) UnmarshalText(text []byte) error
- func (x TorrentFilesOrderBy) Value() (driver.Value, error)
- type TorrentFilesResult
- type TorrentFilesSearch
- type TorrentSearch
- type TorrentSuggestTagsResult
- type TorrentsResult
- type TorrentsWithMissingInfoHashesResult
Constants ¶
const ContentGenreFacetKey = "content_genre"
const LanguageFacetKey = "language"
const QueueJobQueueFacetKey = "queue"
const QueueJobStatusFacetKey = "status"
const ReleaseYearFacetKey = "release_year"
const TorrentContentTypeFacetKey = "content_type"
const TorrentFileTypeFacetKey = "file_type"
const TorrentSourceFacetKey = "torrent_source"
const TorrentTagFacetKey = "torrent_tag"
const Video3dFacetKey = "video_3d"
const VideoCodecFacetKey = "video_codec"
const VideoModifierFacetKey = "video_modifier"
const VideoResolutionFacetKey = "video_resolution"
const VideoSourceFacetKey = "video_source"
Variables ¶
var ErrInvalidOrderDirection = fmt.Errorf("not a valid OrderDirection, try [%s]", strings.Join(_OrderDirectionNames, ", "))
var ErrInvalidQueueJobsOrderBy = fmt.Errorf("not a valid QueueJobsOrderBy, try [%s]", strings.Join(_QueueJobsOrderByNames, ", "))
var ErrInvalidTorrentContentOrderBy = fmt.Errorf("not a valid TorrentContentOrderBy, try [%s]", strings.Join(_TorrentContentOrderByNames, ", "))
var ErrInvalidTorrentFilesOrderBy = fmt.Errorf("not a valid TorrentFilesOrderBy, try [%s]", strings.Join(_TorrentFilesOrderByNames, ", "))
var Video3dCriteria = torrentContentAttributeCriteria[model.Video3d](video3dField)
var VideoResolutionCriteria = torrentContentAttributeCriteria[model.VideoResolution](videoResolutionField)
Functions ¶
func ContentAlternativeIdentifierCriteria ¶ added in v0.5.0
func ContentAlternativeIdentifierCriteria(refs ...model.ContentRef) query.Criteria
func ContentCanonicalIdentifierCriteria ¶
func ContentCanonicalIdentifierCriteria(refs ...model.ContentRef) query.Criteria
func ContentCollectionCriteria ¶
func ContentCollectionCriteria(refs ...model.ContentCollectionRef) query.Criteria
func ContentCoreJoins ¶
func ContentDefaultHydrate ¶
func ContentDefaultOption ¶
func ContentDefaultPreload ¶ added in v0.5.0
func ContentIdentifierCriteria ¶
func ContentIdentifierCriteria(refs ...model.ContentRef) query.Criteria
func ContentTypeCriteria ¶
func ContentTypeCriteria(types ...model.ContentType) query.Criteria
func HydrateTorrentContentTorrent ¶
func HydrateTorrentContentTorrent(options ...HydrateTorrentContentTorrentOption) query.Option
func OrderDirectionNames ¶ added in v0.9.0
func OrderDirectionNames() []string
OrderDirectionNames returns a list of possible string values of OrderDirection.
func QueueJobQueueCriteria ¶
func QueueJobQueueFacet ¶
func QueueJobQueueFacet(options ...query.FacetOption) query.Facet
func QueueJobStatusCriteria ¶
func QueueJobStatusCriteria(statuses ...model.QueueJobStatus) query.Criteria
func QueueJobStatusFacet ¶
func QueueJobStatusFacet(options ...query.FacetOption) query.Facet
func QueueJobsOrderByNames ¶
func QueueJobsOrderByNames() []string
QueueJobsOrderByNames returns a list of possible string values of QueueJobsOrderBy.
func ReleaseYearFacet ¶
func ReleaseYearFacet(options ...query.FacetOption) query.Facet
func TorrentContentCoreJoins ¶
func TorrentContentEpisodesCriteria ¶ added in v0.6.2
func TorrentContentGenreFacet ¶
func TorrentContentGenreFacet(options ...query.FacetOption) query.Facet
func TorrentContentInfoHashCriteria ¶ added in v0.8.0
func TorrentContentLanguageFacet ¶
func TorrentContentLanguageFacet(options ...query.FacetOption) query.Facet
func TorrentContentOrderByNames ¶ added in v0.9.0
func TorrentContentOrderByNames() []string
TorrentContentOrderByNames returns a list of possible string values of TorrentContentOrderBy.
func TorrentContentTypeCriteria ¶
func TorrentContentTypeCriteria(types ...model.ContentType) query.Criteria
func TorrentContentTypeFacet ¶
func TorrentContentTypeFacet(options ...query.FacetOption) query.Facet
func TorrentFileTypeCriteria ¶
func TorrentFileTypeFacet ¶
func TorrentFileTypeFacet(options ...query.FacetOption) query.Facet
func TorrentFilesOrderByNames ¶
func TorrentFilesOrderByNames() []string
TorrentFilesOrderByNames returns a list of possible string values of TorrentFilesOrderBy.
func TorrentInfoHashCriteria ¶
func TorrentSourceCriteria ¶
func TorrentSourceFacet ¶
func TorrentSourceFacet(options ...query.FacetOption) query.Facet
func TorrentTagCriteria ¶ added in v0.3.0
func TorrentTagsFacet ¶ added in v0.3.0
func TorrentTagsFacet(options ...query.FacetOption) query.Facet
func Video3dFacet ¶
func Video3dFacet(options ...query.FacetOption) query.Facet
func VideoCodecFacet ¶
func VideoCodecFacet(options ...query.FacetOption) query.Facet
func VideoModifierFacet ¶
func VideoModifierFacet(options ...query.FacetOption) query.Facet
func VideoResolutionFacet ¶
func VideoResolutionFacet(options ...query.FacetOption) query.Facet
func VideoSourceFacet ¶
func VideoSourceFacet(options ...query.FacetOption) query.Facet
Types ¶
type ContentResult ¶
type ContentResult = query.GenericResult[ContentResultItem]
type ContentResultItem ¶
type ContentResultItem struct { query.ResultItem model.Content }
type ContentSearch ¶
type HydrateTorrentContentTorrentOption ¶
type HydrateTorrentContentTorrentOption func(config *torrentContentTorrentHydratorConfig)
func HydrateTorrentContentTorrentWithFiles ¶
func HydrateTorrentContentTorrentWithFiles() HydrateTorrentContentTorrentOption
type NullOrderDirection ¶ added in v0.9.0
type NullOrderDirection struct { OrderDirection OrderDirection Valid bool Set bool }
func NewNullOrderDirection ¶ added in v0.9.0
func NewNullOrderDirection(val interface{}) (x NullOrderDirection)
func (NullOrderDirection) MarshalJSON ¶ added in v0.9.0
func (n NullOrderDirection) MarshalJSON() ([]byte, error)
MarshalJSON correctly serializes a NullOrderDirection to JSON.
func (*NullOrderDirection) Scan ¶ added in v0.9.0
func (x *NullOrderDirection) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (*NullOrderDirection) UnmarshalJSON ¶ added in v0.9.0
func (n *NullOrderDirection) UnmarshalJSON(b []byte) error
UnmarshalJSON correctly deserializes a NullOrderDirection from JSON.
type NullQueueJobsOrderBy ¶
type NullQueueJobsOrderBy struct { QueueJobsOrderBy QueueJobsOrderBy Valid bool Set bool }
func NewNullQueueJobsOrderBy ¶
func NewNullQueueJobsOrderBy(val interface{}) (x NullQueueJobsOrderBy)
func (NullQueueJobsOrderBy) MarshalJSON ¶
func (n NullQueueJobsOrderBy) MarshalJSON() ([]byte, error)
MarshalJSON correctly serializes a NullQueueJobsOrderBy to JSON.
func (*NullQueueJobsOrderBy) Scan ¶
func (x *NullQueueJobsOrderBy) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (*NullQueueJobsOrderBy) UnmarshalJSON ¶
func (n *NullQueueJobsOrderBy) UnmarshalJSON(b []byte) error
UnmarshalJSON correctly deserializes a NullQueueJobsOrderBy from JSON.
type NullTorrentContentOrderBy ¶ added in v0.9.0
type NullTorrentContentOrderBy struct { TorrentContentOrderBy TorrentContentOrderBy Valid bool Set bool }
func NewNullTorrentContentOrderBy ¶ added in v0.9.0
func NewNullTorrentContentOrderBy(val interface{}) (x NullTorrentContentOrderBy)
func (NullTorrentContentOrderBy) MarshalJSON ¶ added in v0.9.0
func (n NullTorrentContentOrderBy) MarshalJSON() ([]byte, error)
MarshalJSON correctly serializes a NullTorrentContentOrderBy to JSON.
func (*NullTorrentContentOrderBy) Scan ¶ added in v0.9.0
func (x *NullTorrentContentOrderBy) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (*NullTorrentContentOrderBy) UnmarshalJSON ¶ added in v0.9.0
func (n *NullTorrentContentOrderBy) UnmarshalJSON(b []byte) error
UnmarshalJSON correctly deserializes a NullTorrentContentOrderBy from JSON.
type NullTorrentFilesOrderBy ¶
type NullTorrentFilesOrderBy struct { TorrentFilesOrderBy TorrentFilesOrderBy Valid bool Set bool }
func NewNullTorrentFilesOrderBy ¶
func NewNullTorrentFilesOrderBy(val interface{}) (x NullTorrentFilesOrderBy)
func (NullTorrentFilesOrderBy) MarshalJSON ¶
func (n NullTorrentFilesOrderBy) MarshalJSON() ([]byte, error)
MarshalJSON correctly serializes a NullTorrentFilesOrderBy to JSON.
func (*NullTorrentFilesOrderBy) Scan ¶
func (x *NullTorrentFilesOrderBy) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (*NullTorrentFilesOrderBy) UnmarshalJSON ¶
func (n *NullTorrentFilesOrderBy) UnmarshalJSON(b []byte) error
UnmarshalJSON correctly deserializes a NullTorrentFilesOrderBy from JSON.
type OrderDirection ¶ added in v0.9.0
type OrderDirection string
OrderDirection represents sort order directions ENUM(Ascending, Descending)
const ( OrderDirectionAscending OrderDirection = "Ascending" OrderDirectionDescending OrderDirection = "Descending" )
func OrderDirectionValues ¶ added in v0.9.0
func OrderDirectionValues() []OrderDirection
OrderDirectionValues returns a list of the values for OrderDirection
func ParseOrderDirection ¶ added in v0.9.0
func ParseOrderDirection(name string) (OrderDirection, error)
ParseOrderDirection attempts to convert a string to a OrderDirection.
func (OrderDirection) IsValid ¶ added in v0.9.0
func (x OrderDirection) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (OrderDirection) MarshalText ¶ added in v0.9.0
func (x OrderDirection) MarshalText() ([]byte, error)
MarshalText implements the text marshaller method.
func (*OrderDirection) Scan ¶ added in v0.9.0
func (x *OrderDirection) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (OrderDirection) String ¶ added in v0.9.0
func (x OrderDirection) String() string
String implements the Stringer interface.
func (*OrderDirection) UnmarshalText ¶ added in v0.9.0
func (x *OrderDirection) UnmarshalText(text []byte) error
UnmarshalText implements the text unmarshaller method.
type QueueJobResult ¶
type QueueJobResult = query.GenericResult[model.QueueJob]
type QueueJobSearch ¶
type QueueJobsFullOrderBy ¶
type QueueJobsFullOrderBy maps.InsertMap[QueueJobsOrderBy, OrderDirection]
func (QueueJobsFullOrderBy) Clauses ¶
func (fob QueueJobsFullOrderBy) Clauses() []query.OrderByColumn
func (QueueJobsFullOrderBy) Option ¶
func (fob QueueJobsFullOrderBy) Option() query.Option
type QueueJobsOrderBy ¶
type QueueJobsOrderBy string
QueueJobsOrderBy represents sort orders for queue jobs search results ENUM(created_at, ran_at, priority)
const ( QueueJobsOrderByCreatedAt QueueJobsOrderBy = "created_at" QueueJobsOrderByRanAt QueueJobsOrderBy = "ran_at" QueueJobsOrderByPriority QueueJobsOrderBy = "priority" )
func ParseQueueJobsOrderBy ¶
func ParseQueueJobsOrderBy(name string) (QueueJobsOrderBy, error)
ParseQueueJobsOrderBy attempts to convert a string to a QueueJobsOrderBy.
func QueueJobsOrderByValues ¶
func QueueJobsOrderByValues() []QueueJobsOrderBy
QueueJobsOrderByValues returns a list of the values for QueueJobsOrderBy
func (QueueJobsOrderBy) Clauses ¶
func (ob QueueJobsOrderBy) Clauses(direction OrderDirection) []query.OrderByColumn
func (QueueJobsOrderBy) IsValid ¶
func (x QueueJobsOrderBy) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (QueueJobsOrderBy) MarshalText ¶
func (x QueueJobsOrderBy) MarshalText() ([]byte, error)
MarshalText implements the text marshaller method.
func (*QueueJobsOrderBy) Scan ¶
func (x *QueueJobsOrderBy) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (QueueJobsOrderBy) String ¶
func (x QueueJobsOrderBy) String() string
String implements the Stringer interface.
func (*QueueJobsOrderBy) UnmarshalText ¶
func (x *QueueJobsOrderBy) UnmarshalText(text []byte) error
UnmarshalText implements the text unmarshaller method.
type Search ¶
type Search interface { ContentSearch QueueJobSearch TorrentSearch TorrentContentSearch TorrentFilesSearch }
type SuggestTagsQuery ¶ added in v0.3.0
type SuggestedTag ¶ added in v0.3.0
type TorrentContentFullOrderBy ¶ added in v0.9.0
type TorrentContentFullOrderBy maps.InsertMap[TorrentContentOrderBy, OrderDirection]
func (TorrentContentFullOrderBy) Clauses ¶ added in v0.9.0
func (fob TorrentContentFullOrderBy) Clauses() []query.OrderByColumn
func (TorrentContentFullOrderBy) Option ¶ added in v0.9.0
func (fob TorrentContentFullOrderBy) Option() query.Option
type TorrentContentOrderBy ¶ added in v0.9.0
type TorrentContentOrderBy string
TorrentContentOrderBy represents sort orders for torrent content search results ENUM(relevance, published_at, updated_at, size, files_count, seeders, leechers, name, info_hash)
const ( TorrentContentOrderByRelevance TorrentContentOrderBy = "relevance" TorrentContentOrderByPublishedAt TorrentContentOrderBy = "published_at" TorrentContentOrderByUpdatedAt TorrentContentOrderBy = "updated_at" TorrentContentOrderBySize TorrentContentOrderBy = "size" TorrentContentOrderByFilesCount TorrentContentOrderBy = "files_count" TorrentContentOrderBySeeders TorrentContentOrderBy = "seeders" TorrentContentOrderByLeechers TorrentContentOrderBy = "leechers" TorrentContentOrderByName TorrentContentOrderBy = "name" TorrentContentOrderByInfoHash TorrentContentOrderBy = "info_hash" )
func ParseTorrentContentOrderBy ¶ added in v0.9.0
func ParseTorrentContentOrderBy(name string) (TorrentContentOrderBy, error)
ParseTorrentContentOrderBy attempts to convert a string to a TorrentContentOrderBy.
func TorrentContentOrderByValues ¶ added in v0.9.0
func TorrentContentOrderByValues() []TorrentContentOrderBy
TorrentContentOrderByValues returns a list of the values for TorrentContentOrderBy
func (TorrentContentOrderBy) Clauses ¶ added in v0.9.0
func (ob TorrentContentOrderBy) Clauses(direction OrderDirection) []query.OrderByColumn
func (TorrentContentOrderBy) IsValid ¶ added in v0.9.0
func (x TorrentContentOrderBy) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (TorrentContentOrderBy) MarshalText ¶ added in v0.9.0
func (x TorrentContentOrderBy) MarshalText() ([]byte, error)
MarshalText implements the text marshaller method.
func (*TorrentContentOrderBy) Scan ¶ added in v0.9.0
func (x *TorrentContentOrderBy) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (TorrentContentOrderBy) String ¶ added in v0.9.0
func (x TorrentContentOrderBy) String() string
String implements the Stringer interface.
func (*TorrentContentOrderBy) UnmarshalText ¶ added in v0.9.0
func (x *TorrentContentOrderBy) UnmarshalText(text []byte) error
UnmarshalText implements the text unmarshaller method.
type TorrentContentResult ¶
type TorrentContentResult = query.GenericResult[TorrentContentResultItem]
type TorrentContentResultItem ¶
type TorrentContentResultItem struct { query.ResultItem model.TorrentContent }
type TorrentContentSearch ¶
type TorrentFilesFullOrderBy ¶
type TorrentFilesFullOrderBy maps.InsertMap[TorrentFilesOrderBy, OrderDirection]
func (TorrentFilesFullOrderBy) Clauses ¶
func (fob TorrentFilesFullOrderBy) Clauses() []query.OrderByColumn
func (TorrentFilesFullOrderBy) Option ¶
func (fob TorrentFilesFullOrderBy) Option() query.Option
type TorrentFilesOrderBy ¶
type TorrentFilesOrderBy string
TorrentFilesOrderBy represents sort orders for torrent content search results ENUM(index, path, extension, size)
const ( TorrentFilesOrderByIndex TorrentFilesOrderBy = "index" TorrentFilesOrderByPath TorrentFilesOrderBy = "path" TorrentFilesOrderByExtension TorrentFilesOrderBy = "extension" TorrentFilesOrderBySize TorrentFilesOrderBy = "size" )
func ParseTorrentFilesOrderBy ¶
func ParseTorrentFilesOrderBy(name string) (TorrentFilesOrderBy, error)
ParseTorrentFilesOrderBy attempts to convert a string to a TorrentFilesOrderBy.
func TorrentFilesOrderByValues ¶
func TorrentFilesOrderByValues() []TorrentFilesOrderBy
TorrentFilesOrderByValues returns a list of the values for TorrentFilesOrderBy
func (TorrentFilesOrderBy) Clauses ¶
func (ob TorrentFilesOrderBy) Clauses(direction OrderDirection) []query.OrderByColumn
func (TorrentFilesOrderBy) IsValid ¶
func (x TorrentFilesOrderBy) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (TorrentFilesOrderBy) MarshalText ¶
func (x TorrentFilesOrderBy) MarshalText() ([]byte, error)
MarshalText implements the text marshaller method.
func (*TorrentFilesOrderBy) Scan ¶
func (x *TorrentFilesOrderBy) Scan(value interface{}) (err error)
Scan implements the Scanner interface.
func (TorrentFilesOrderBy) String ¶
func (x TorrentFilesOrderBy) String() string
String implements the Stringer interface.
func (*TorrentFilesOrderBy) UnmarshalText ¶
func (x *TorrentFilesOrderBy) UnmarshalText(text []byte) error
UnmarshalText implements the text unmarshaller method.
type TorrentFilesResult ¶
type TorrentFilesResult = query.GenericResult[model.TorrentFile]
type TorrentFilesSearch ¶
type TorrentSearch ¶
type TorrentSearch interface { Torrents(ctx context.Context, options ...query.Option) (TorrentsResult, error) TorrentsWithMissingInfoHashes(ctx context.Context, infoHashes []protocol.ID, options ...query.Option) (TorrentsWithMissingInfoHashesResult, error) TorrentSuggestTags(ctx context.Context, query SuggestTagsQuery, options ...query.Option) (TorrentSuggestTagsResult, error) }
type TorrentSuggestTagsResult ¶ added in v0.3.0
type TorrentSuggestTagsResult struct {
Suggestions []SuggestedTag
}
type TorrentsResult ¶
type TorrentsResult = query.GenericResult[model.Torrent]
Source Files ¶
- criteria_content_collection.go
- criteria_content_identifier.go
- criteria_content_release_date.go
- criteria_content_type.go
- criteria_queue_job_queue.go
- criteria_queue_job_status.go
- criteria_torrent_content_attribute.go
- criteria_torrent_content_episodes.go
- criteria_torrent_content_info_hash.go
- criteria_torrent_content_type.go
- criteria_torrent_file_extension.go
- criteria_torrent_file_info_hash.go
- criteria_torrent_file_type.go
- criteria_torrent_info_hash.go
- criteria_torrent_tag.go
- facet_queue_job_queue.go
- facet_queue_job_status.go
- facet_release_year.go
- facet_torrent_content_attribute.go
- facet_torrent_content_collection.go
- facet_torrent_content_genre.go
- facet_torrent_content_language.go
- facet_torrent_content_type.go
- facet_torrent_content_video_3d.go
- facet_torrent_content_video_codec.go
- facet_torrent_content_video_modifier.go
- facet_torrent_content_video_resolution.go
- facet_torrent_content_video_source.go
- facet_torrent_file_type.go
- facet_torrent_source.go
- facet_torrent_tag.go
- hydrator_content_collections.go
- hydrator_torrent_content_content.go
- hydrator_torrent_content_torrent.go
- order.go
- order_enum.go
- order_queue_jobs.go
- order_queue_jobs_enum.go
- order_torrent_content.go
- order_torrent_content_enum.go
- order_torrent_files.go
- order_torrent_files_enum.go
- search.go
- search_content.go
- search_queue_jobs.go
- search_torrent_content.go
- search_torrent_files.go
- search_torrents.go