Documentation ¶
Index ¶
- type DefaultLogin
- type DefaultRoutes
- type DefaultToken
- func (d *DefaultToken) Login(key PublicKey, login DefaultLogin) error
- func (d DefaultToken) Marshal() ([]byte, error)
- func (d *DefaultToken) New() error
- func (d DefaultToken) Playback(web WebAddress) (*Playback, error)
- func (d DefaultToken) Routes(web WebAddress) (*DefaultRoutes, error)
- func (d *DefaultToken) Unmarshal(text []byte) error
- type Playback
- type PublicKey
- type WebAddress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultLogin ¶
type DefaultRoutes ¶
type DefaultRoutes struct { Data struct { Attributes struct { Url WebAddress } } Included []route_include }
func (DefaultRoutes) Episode ¶
func (d DefaultRoutes) Episode() int
func (DefaultRoutes) Season ¶
func (d DefaultRoutes) Season() int
func (DefaultRoutes) Show ¶
func (d DefaultRoutes) Show() string
func (DefaultRoutes) Title ¶
func (d DefaultRoutes) Title() string
func (DefaultRoutes) Year ¶
func (d DefaultRoutes) Year() int
type DefaultToken ¶
type DefaultToken struct { Data struct { Attributes struct { Token string } } }
func (*DefaultToken) Login ¶
func (d *DefaultToken) Login(key PublicKey, login DefaultLogin) error
func (DefaultToken) Marshal ¶
func (d DefaultToken) Marshal() ([]byte, error)
func (*DefaultToken) New ¶
func (d *DefaultToken) New() error
func (DefaultToken) Playback ¶
func (d DefaultToken) Playback(web WebAddress) (*Playback, error)
func (DefaultToken) Routes ¶
func (d DefaultToken) Routes(web WebAddress) (*DefaultRoutes, error)
func (*DefaultToken) Unmarshal ¶
func (d *DefaultToken) Unmarshal(text []byte) error
type Playback ¶
type Playback struct { Drm struct { Schemes struct { Widevine struct { LicenseUrl string } } } Manifest struct { Url string } }
func (Playback) RequestUrl ¶
type WebAddress ¶
func (WebAddress) MarshalText ¶
func (w WebAddress) MarshalText() ([]byte, error)
func (*WebAddress) UnmarshalText ¶
func (w *WebAddress) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.