app

package
v1.4.2-rc5 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiClient

type ApiClient struct {
	// contains filtered or unexported fields
}

func NewApiClient

func NewApiClient() (*ApiClient, error)

type ApiRequestMethod

type ApiRequestMethod string

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(c *cli.Context, l *zerolog.Logger, s io.Writer) (app *App)

func (*App) Bootstrap

func (m *App) Bootstrap() (e error)

type CachedTitlesBucket

type CachedTitlesBucket struct {
	// contains filtered or unexported fields
}

func NewCachedTitlesBucket

func NewCachedTitlesBucket() *CachedTitlesBucket

func (*CachedTitlesBucket) PullSerie

func (m *CachedTitlesBucket) PullSerie(tid, sid uint16) (serie *TitleSerie, _ error)

func (*CachedTitlesBucket) PushSerie

func (m *CachedTitlesBucket) PushSerie(serie *TitleSerie) (_ error)

type Player

type Player struct {
	Host     string
	Playlist map[string]*PlayerPlaylist
}

type PlayerPlaylist

type PlayerPlaylist struct {
	Serie uint16
	Hls   *PlaylistHls
}

type PlaylistHls

type PlaylistHls struct {
	Fhd, Hd, Sd string
}

type Title

type Title struct {
	Id     uint16
	Code   string
	Player *Player
}

type TitleSerie

type TitleSerie struct {
	Title, Serie  uint16
	QualityHashes map[utils.TitleQuality]string
}

type TitleSerieRequest

type TitleSerieRequest struct {
	// contains filtered or unexported fields
}

func NewTitleSerieRequest

func NewTitleSerieRequest(uri string) *TitleSerieRequest

Jump to

Keyboard shortcuts

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