Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleAsset ¶
type ArticleSlug ¶
type ArticleSlug string
func (ArticleSlug) Article ¶
func (a ArticleSlug) Article() (*DataArticle, error)
func (*ArticleSlug) Set ¶
func (a *ArticleSlug) Set(s string) error
func (ArticleSlug) String ¶
func (a ArticleSlug) String() string
type Authenticate ¶
type Authenticate struct { Data []byte V struct { Data struct { UserAuthenticate struct { AccessToken string `json:"access_token"` } } } }
func (*Authenticate) New ¶
func (a *Authenticate) New(email, password string) error
func (Authenticate) Play ¶
func (a Authenticate) Play(asset *ArticleAsset) (*AssetPlay, error)
geo block - VPN not x-forwarded-for
func (*Authenticate) Unmarshal ¶
func (a *Authenticate) Unmarshal() error
type DataArticle ¶
type DataArticle struct { Assets []*ArticleAsset CanonicalTitle string `json:"canonical_title"` ID int Metas []struct { Key string Value string } }
func (DataArticle) Film ¶
func (d DataArticle) Film() (*ArticleAsset, bool)
type Encoding ¶
type Encoding struct { Article *DataArticle Play *AssetPlay }
Click to show internal directories.
Click to hide internal directories.