Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TorrentContent ¶
type TorrentContent struct { ID string InfoHash protocol.ID ContentType model.NullContentType ContentSource model.NullString ContentID model.NullString Title string Languages []model.Language `json:"omitempty"` Episodes *Episodes VideoResolution model.NullVideoResolution VideoSource model.NullVideoSource VideoCodec model.NullVideoCodec Video3d model.NullVideo3d VideoModifier model.NullVideoModifier ReleaseGroup model.NullString SearchString string CreatedAt time.Time UpdatedAt time.Time Torrent model.Torrent Content *model.Content }
func NewTorrentContentFromResultItem ¶
func NewTorrentContentFromResultItem(item search.TorrentContentResultItem) TorrentContent
type TorrentContentQuery ¶ added in v0.3.0
type TorrentContentQuery struct {
TorrentContentSearch search.TorrentContentSearch
}
func (TorrentContentQuery) Search ¶ added in v0.3.0
func (t TorrentContentQuery) Search(ctx context.Context, query *q.SearchParams, facets *gen.TorrentContentFacetsInput) (TorrentContentSearchResult, error)
type TorrentContentSearchResult ¶ added in v0.3.0
type TorrentContentSearchResult struct { TotalCount uint TotalCountIsEstimate bool HasNextPage bool Items []TorrentContent Aggregations gen.TorrentContentAggregations }
type TorrentMutation ¶ added in v0.3.0
type TorrentMutation struct{}
type TorrentQuery ¶ added in v0.3.0
type TorrentQuery struct {
TorrentSearch search.TorrentSearch
}
func (TorrentQuery) SuggestTags ¶ added in v0.3.0
func (t TorrentQuery) SuggestTags(ctx context.Context, query *gen.SuggestTagsQueryInput) (search.TorrentSuggestTagsResult, error)
type TorrentSource ¶
type TorrentSource struct { Key string Name string ImportID model.NullString Seeders model.NullUint Leechers model.NullUint }
func TorrentSourcesFromTorrent ¶
func TorrentSourcesFromTorrent(t model.Torrent) []TorrentSource
Click to show internal directories.
Click to hide internal directories.