package member
import "41.neocities.org/media/cine/member"
Index
- type Address
- type ArticleAsset
-
type OperationArticle
- func (*OperationArticle) Episode() int
- func (o *OperationArticle) Film() (*ArticleAsset, bool)
- func (*OperationArticle) FilmError() error
- func (*OperationArticle) Season() int
- func (*OperationArticle) Show() string
- func (o *OperationArticle) Title() string
- func (o *OperationArticle) Unmarshal() error
- func (o *OperationArticle) Year() int
- type OperationPlay
- type OperationUser
Types
type Address
type Address struct { Path string }
func (*Address) Article
func (a *Address) Article() (*OperationArticle, error)
func (*Address) Set
func (a *Address) Set(s string) error
func (*Address) String
func (a *Address) String() string
type ArticleAsset
type ArticleAsset struct { Id int LinkedType string `json:"linked_type"` // contains filtered or unexported fields }
type OperationArticle
type OperationArticle struct { Assets []*ArticleAsset CanonicalTitle string `json:"canonical_title"` Id int Metas []struct { Key string Value string } Raw []byte `json:"-"` }
func (*OperationArticle) Episode
func (*OperationArticle) Episode() int
func (*OperationArticle) Film
func (o *OperationArticle) Film() (*ArticleAsset, bool)
func (*OperationArticle) FilmError
func (*OperationArticle) FilmError() error
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() error
func (*OperationArticle) Year
func (o *OperationArticle) Year() int
type OperationPlay
type OperationPlay struct { Entitlements []struct { Manifest string Protocol string } Raw []byte `json:"-"` }
func (*OperationPlay) Dash
func (o *OperationPlay) Dash() (string, bool)
func (*OperationPlay) DashError
func (*OperationPlay) DashError() error
func (*OperationPlay) Unmarshal
func (o *OperationPlay) Unmarshal() error
type OperationUser
type OperationUser struct { AccessToken string `json:"access_token"` Raw []byte `json:"-"` }
func (*OperationUser) New
func (o *OperationUser) New(email, password string) error
func (*OperationUser) Play
func (o *OperationUser) Play(asset *ArticleAsset) (*OperationPlay, error)
geo block, not x-forwarded-for
func (*OperationUser) Unmarshal
func (o *OperationUser) Unmarshal() error