YTSFlix_Go/ytsclient/order.go
2018-11-04 15:58:15 +01:00

21 lines
413 B
Go

package ytsclient
type SortBy string
type Order string
const (
// OrderBy Enum
Title SortBy = "title"
Year SortBy = "year"
Rating SortBy = "rating"
Peers SortBy = "peers"
Seeds SortBy = "seeds"
DownloadCount SortBy = "downloadCount"
LikeCount SortBy = "likeCount"
DateAdded SortBy = "dateAdded"
// Order Enum
Asc Order = "asc"
Desc Order = "desc"
)