Documentation
¶
Index ¶
- type Menu
- type MenuHelper
- type MenuItem
- type Sort
- type SortHelper
- type SortOption
- type Star
- type StarsHelper
- type VideoContentHelper
- func (s *VideoContentHelper) GetCachedPoster240(m models.VideoContentWithMetadata) string
- func (s *VideoContentHelper) GetOriginalPoster(m models.VideoContentWithMetadata) string
- func (s *VideoContentHelper) GetRating(m models.VideoContentWithMetadata) float64
- func (s *VideoContentHelper) GetTitle(m models.VideoContentWithMetadata) string
- func (s *VideoContentHelper) GetYear(m models.VideoContentWithMetadata) int
- func (s *VideoContentHelper) HasPoster(m models.VideoContentWithMetadata) bool
- func (s *VideoContentHelper) HasRating(m models.VideoContentWithMetadata) bool
- func (s *VideoContentHelper) HasYear(m models.VideoContentWithMetadata) bool
- func (s *VideoContentHelper) MakeMenu(args *shared.IndexArgs) Menu
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SortOption ¶
type StarsHelper ¶
type StarsHelper struct {
}
func NewStarsHelper ¶
func NewStarsHelper() *StarsHelper
func (*StarsHelper) MakeStars ¶
func (s *StarsHelper) MakeStars(r float64) (stars []Star)
type VideoContentHelper ¶
type VideoContentHelper struct{}
func NewVideoContentHelper ¶
func NewVideoContentHelper() *VideoContentHelper
func (*VideoContentHelper) GetCachedPoster240 ¶
func (s *VideoContentHelper) GetCachedPoster240(m models.VideoContentWithMetadata) string
func (*VideoContentHelper) GetOriginalPoster ¶
func (s *VideoContentHelper) GetOriginalPoster(m models.VideoContentWithMetadata) string
func (*VideoContentHelper) GetRating ¶
func (s *VideoContentHelper) GetRating(m models.VideoContentWithMetadata) float64
func (*VideoContentHelper) GetTitle ¶
func (s *VideoContentHelper) GetTitle(m models.VideoContentWithMetadata) string
func (*VideoContentHelper) GetYear ¶
func (s *VideoContentHelper) GetYear(m models.VideoContentWithMetadata) int
func (*VideoContentHelper) HasPoster ¶
func (s *VideoContentHelper) HasPoster(m models.VideoContentWithMetadata) bool
func (*VideoContentHelper) HasRating ¶
func (s *VideoContentHelper) HasRating(m models.VideoContentWithMetadata) bool
func (*VideoContentHelper) HasYear ¶
func (s *VideoContentHelper) HasYear(m models.VideoContentWithMetadata) bool
Click to show internal directories.
Click to hide internal directories.