Documentation
¶
Index ¶
- type ApiClient
- type ApiRequestMethod
- type App
- type CachedTitlesBucket
- type Controller
- func (m *Controller) BalancerStatsReset(c *fiber.Ctx) (e error)
- func (m *Controller) BalancerUpstreamReset(c *fiber.Ctx) (e error)
- func (m *Controller) BlockIP(c *fiber.Ctx) error
- func (m *Controller) BlocklistReset(c *fiber.Ctx) error
- func (m *Controller) BlocklistSwitch(c *fiber.Ctx) (e error)
- func (m *Controller) GetBalancerStats(c *fiber.Ctx) (e error)
- func (m *Controller) LimiterSwitch(c *fiber.Ctx) (e error)
- func (m *Controller) SetLoggerLevel(c *fiber.Ctx) error
- func (m *Controller) SetReady()
- func (m *Controller) UnblockIP(c *fiber.Ctx) error
- func (m *Controller) UpdateQualityRewrite(c *fiber.Ctx) (e error)
- func (m *Controller) WithContext(c context.Context) *Controller
- type Player
- type PlayerPlaylist
- type PlaylistHls
- type Title
- type TitleSerie
- type TitleSerieRequest
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 ¶
type ApiRequestMethod ¶
type ApiRequestMethod string
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 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
Click to show internal directories.
Click to hide internal directories.