Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivationCode ¶
func (*ActivationCode) New ¶
func (a *ActivationCode) New() error
func (ActivationCode) String ¶
func (a ActivationCode) String() string
func (ActivationCode) Token ¶
func (a ActivationCode) Token() (*WebToken, error)
func (*ActivationCode) Unmarshal ¶
func (a *ActivationCode) Unmarshal() error
type AppSession ¶
type AppSession struct {
JwToken string
}
func (AppSession) Stream ¶
func (a AppSession) Stream(id int64) (*ProgramStream, error)
type LegacyProgram ¶
type LegacyProgram struct { V struct { ReleaseYear int SeriesTitle string Title string TvSeasonEpisodeNumber int TvSeasonNumber int } }
func (LegacyProgram) Episode ¶
func (p LegacyProgram) Episode() int
func (*LegacyProgram) New ¶
func (p *LegacyProgram) New(id int64) error
func (LegacyProgram) Season ¶
func (p LegacyProgram) Season() int
func (LegacyProgram) Show ¶
func (p LegacyProgram) Show() string
func (LegacyProgram) Title ¶
func (p LegacyProgram) Title() string
func (LegacyProgram) Year ¶
func (p LegacyProgram) Year() int
type ProgramStream ¶
type ProgramStream struct { Media struct { DRM *struct { CustomData string KeyId string } VideoUrl string } }
func (ProgramStream) RequestBody ¶
func (ProgramStream) RequestBody(b []byte) ([]byte, error)
func (ProgramStream) RequestHeader ¶
func (p ProgramStream) RequestHeader() (http.Header, error)
func (ProgramStream) RequestUrl ¶
func (ProgramStream) RequestUrl() (string, bool)
final slash is needed
func (ProgramStream) ResponseBody ¶
func (ProgramStream) ResponseBody(b []byte) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.