Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller contains our dependency
func NewController ¶
NewController creates a new controller
func (*Controller) Find ¶
func (c *Controller) Find(ctx context.Context, path string) (breadcrumb.Item, error)
Find will returns either a series or a video for a given path
func (*Controller) Series ¶
func (c *Controller) Series(ctx context.Context, seriesID int) ([]breadcrumb.Breadcrumb, error)
Series will return the breadcrumb from SeriesID to root
func (*Controller) Video ¶
func (c *Controller) Video(ctx context.Context, videoID int) ([]breadcrumb.Breadcrumb, error)
Video returns the absolute path from a VideoID
Click to show internal directories.
Click to hide internal directories.