Documentation ¶
Index ¶
- Constants
- Variables
- 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 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() query.Option
- func ReleaseYearFacet(options ...query.FacetOption) query.Facet
- func TorrentContentCoreJoins() query.Option
- func TorrentContentDefaultHydrate() query.Option
- func TorrentContentDefaultOption() query.Option
- func TorrentContentGenreFacet(options ...query.FacetOption) query.Facet
- func TorrentContentLanguageFacet(options ...query.FacetOption) query.Facet
- func TorrentContentTypeCriteria(types ...model.ContentType) query.Criteria
- func TorrentContentTypeFacet(options ...query.FacetOption) query.Facet
- func TorrentDefaultPreload() query.Option
- func TorrentFileExtensionCriteria(extensions ...string) query.Criteria
- func TorrentFileTypeCriteria(fileTypes ...model.FileType) query.Criteria
- func TorrentFileTypeFacet(options ...query.FacetOption) query.Facet
- func TorrentInfoHashCriteria(infoHashes ...model.Hash20) query.Criteria
- func TorrentSourceCriteria(keys ...string) query.Criteria
- func TorrentSourceFacet(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 Params
- type Result
- type Search
- type TorrentContentResult
- type TorrentContentResultItem
- type TorrentContentSearch
- type TorrentSearch
- type TorrentsResult
Constants ¶
View Source
const ContentGenreFacetKey = "content_genre"
View Source
const LanguageFacetKey = "language"
View Source
const ReleaseYearFacetKey = "release_year"
View Source
const TorrentContentTypeFacetKey = "content_type"
View Source
const TorrentFileTypeFacetKey = "file_type"
View Source
const TorrentSourceFacetKey = "torrent_source"
View Source
const Video3dFacetKey = "video_3d"
View Source
const VideoCodecFacetKey = "video_codec"
View Source
const VideoModifierFacetKey = "video_modifier"
View Source
const VideoResolutionFacetKey = "video_resolution"
View Source
const VideoSourceFacetKey = "video_source"
Variables ¶
View Source
var Video3dCriteria = torrentContentAttributeCriteria[model.Video3d](video3dField)
View Source
var VideoResolutionCriteria = torrentContentAttributeCriteria[model.VideoResolution](videoResolutionField)
Functions ¶
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 ContentIdentifierCriteria ¶
func ContentIdentifierCriteria(refs ...model.ContentRef) query.Criteria
func ContentTypeCriteria ¶
func ContentTypeCriteria(types ...model.ContentType) query.Criteria
func ReleaseYearFacet ¶
func ReleaseYearFacet(options ...query.FacetOption) query.Facet
func TorrentContentCoreJoins ¶
func TorrentContentGenreFacet ¶
func TorrentContentGenreFacet(options ...query.FacetOption) query.Facet
func TorrentContentLanguageFacet ¶
func TorrentContentLanguageFacet(options ...query.FacetOption) query.Facet
func TorrentContentTypeCriteria ¶
func TorrentContentTypeCriteria(types ...model.ContentType) query.Criteria
func TorrentContentTypeFacet ¶
func TorrentContentTypeFacet(options ...query.FacetOption) query.Facet
func TorrentDefaultPreload ¶
func TorrentFileTypeCriteria ¶
func TorrentFileTypeFacet ¶
func TorrentFileTypeFacet(options ...query.FacetOption) query.Facet
func TorrentInfoHashCriteria ¶
func TorrentSourceCriteria ¶
func TorrentSourceFacet ¶
func TorrentSourceFacet(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 Search ¶
type Search interface { ContentSearch TorrentSearch TorrentContentSearch }
type TorrentContentResult ¶
type TorrentContentResult = query.GenericResult[TorrentContentResultItem]
type TorrentContentResultItem ¶
type TorrentContentResultItem struct { query.ResultItem model.TorrentContent }
type TorrentContentSearch ¶
type TorrentSearch ¶
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_torrent_content_attribute.go
- criteria_torrent_content_type.go
- criteria_torrent_file_extension.go
- criteria_torrent_file_type.go
- criteria_torrent_info_hash.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
- hydrator_content_collections.go
- hydrator_torrent_content_content.go
- hydrator_torrent_content_torrent.go
- search.go
- search_content.go
- search_torrent_content.go
- search_torrents.go
Click to show internal directories.
Click to hide internal directories.