gqlmodel

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Episodes

type Episodes struct {
	Label   string
	Seasons []model.Season `json:"omitempty"`
}

type SearchQuery

type SearchQuery struct{}

type TorrentContent

type TorrentContent struct {
	ID              string
	InfoHash        model.Hash20
	ContentType     model.NullContentType
	ContentSource   model.NullString
	ContentID       model.NullString
	Title           string
	ReleaseDate     model.Date
	ReleaseYear     model.Year
	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 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL