Documentation ¶
Index ¶
- type Address
- type ArticleAsset
- type Entitlement
- type OperationArticle
- func (*OperationArticle) Episode() int
- func (o *OperationArticle) Film() (*ArticleAsset, bool)
- func (*OperationArticle) Marshal(web *Address) ([]byte, error)
- func (*OperationArticle) Season() int
- func (*OperationArticle) Show() string
- func (o *OperationArticle) Title() string
- func (o *OperationArticle) Unmarshal(data []byte) error
- func (o *OperationArticle) Year() int
- type OperationPlay
- type OperationUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleAsset ¶
type Entitlement ¶
type OperationArticle ¶
type OperationArticle struct { Assets []*ArticleAsset CanonicalTitle string `json:"canonical_title"` Id int Metas []struct { Key string Value string } }
func (*OperationArticle) Episode ¶
func (*OperationArticle) Episode() int
func (*OperationArticle) Film ¶
func (o *OperationArticle) Film() (*ArticleAsset, bool)
func (*OperationArticle) Season ¶
func (*OperationArticle) Season() int
func (*OperationArticle) Show ¶
func (*OperationArticle) Show() string
func (*OperationArticle) Title ¶
func (o *OperationArticle) Title() string
func (*OperationArticle) Unmarshal ¶
func (o *OperationArticle) Unmarshal(data []byte) error
func (*OperationArticle) Year ¶
func (o *OperationArticle) Year() int
type OperationPlay ¶
type OperationPlay struct { Data struct { ArticleAssetPlay struct { Entitlements []Entitlement } } Errors []struct { Message string } }
func (*OperationPlay) Dash ¶
func (o *OperationPlay) Dash() (*Entitlement, bool)
func (OperationPlay) Marshal ¶
func (OperationPlay) Marshal( user *OperationUser, asset *ArticleAsset, ) ([]byte, error)
hard geo block
func (*OperationPlay) Unmarshal ¶
func (o *OperationPlay) Unmarshal(data []byte) error
type OperationUser ¶
type OperationUser struct { Data struct { UserAuthenticate struct { AccessToken string `json:"access_token"` } } }
func (*OperationUser) Unmarshal ¶
func (o *OperationUser) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.