app

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 43 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(c *fiber.Ctx, tid, sid uint16) (serie *TitleSerie, _ error)

func (*CachedTitlesBucket) PushSerie

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

type Controller added in v1.4.3

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

func NewController added in v1.4.3

func NewController() *Controller

func (*Controller) BalancerStatsReset added in v1.4.3

func (m *Controller) BalancerStatsReset(c *fiber.Ctx) (e error)

func (*Controller) BalancerUpstreamReset added in v1.4.3

func (m *Controller) BalancerUpstreamReset(c *fiber.Ctx) (e error)

func (*Controller) BlockIP added in v1.4.3

func (m *Controller) BlockIP(c *fiber.Ctx) error

func (*Controller) BlocklistReset added in v1.4.3

func (m *Controller) BlocklistReset(c *fiber.Ctx) error

func (*Controller) BlocklistSwitch added in v1.4.3

func (m *Controller) BlocklistSwitch(c *fiber.Ctx) (e error)

func (*Controller) GetBalancerStats added in v1.4.3

func (m *Controller) GetBalancerStats(c *fiber.Ctx) (e error)

func (*Controller) LimiterSwitch added in v1.4.3

func (m *Controller) LimiterSwitch(c *fiber.Ctx) (e error)

func (*Controller) SetLoggerLevel added in v1.4.3

func (m *Controller) SetLoggerLevel(c *fiber.Ctx) error

func (*Controller) SetReady added in v1.4.3

func (m *Controller) SetReady()

func (*Controller) UnblockIP added in v1.4.3

func (m *Controller) UnblockIP(c *fiber.Ctx) error

func (*Controller) UpdateQualityRewrite added in v1.4.3

func (m *Controller) UpdateQualityRewrite(c *fiber.Ctx) (e error)

func (*Controller) WithContext added in v1.4.3

func (m *Controller) WithContext(c context.Context) *Controller

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