Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
func (Address) Article ¶ added in v1.10.0
func (a Address) Article() (*UserArticle, error)
type AssetPlay ¶ added in v1.10.0
type AssetPlay struct { Data struct { ArticleAssetPlay struct { Entitlements []Entitlement } } Errors []struct { Message string } }
func (*AssetPlay) Dash ¶ added in v1.10.0
func (a *AssetPlay) Dash() (*Entitlement, bool)
type Authenticate ¶ added in v1.10.0
type Authenticate struct { Data struct { UserAuthenticate struct { AccessToken string `json:"access_token"` } } }
func (Authenticate) Marshal ¶ added in v1.10.0
func (Authenticate) Marshal(email, password string) ([]byte, error)
func (*Authenticate) Unmarshal ¶ added in v1.10.0
func (a *Authenticate) Unmarshal(data []byte) error
type Entitlement ¶
type UserArticle ¶ added in v1.10.0
func (*UserArticle) Film ¶ added in v1.10.0
func (u *UserArticle) Film() (*UserAsset, bool)
Click to show internal directories.
Click to hide internal directories.