Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountAuth ¶
type AccountAuth struct {
AuthToken string
}
func (*AccountAuth) Marshal ¶ added in v1.9.9
func (*AccountAuth) Marshal(token *AccountToken) ([]byte, error)
token can be nil
func (*AccountAuth) Unmarshal ¶
func (a *AccountAuth) Unmarshal(data []byte) error
type AccountCode ¶
type AccountCode struct {
Code string
}
func (*AccountCode) Marshal ¶ added in v1.9.9
func (*AccountCode) Marshal(auth *AccountAuth) ([]byte, error)
func (*AccountCode) String ¶
func (a *AccountCode) String() string
func (*AccountCode) Unmarshal ¶
func (a *AccountCode) Unmarshal(data []byte) error
type AccountToken ¶
type AccountToken struct {
Token string
}
func (AccountToken) Marshal ¶ added in v1.9.9
func (AccountToken) Marshal( auth *AccountAuth, code *AccountCode, ) ([]byte, error)
func (*AccountToken) Unmarshal ¶
func (a *AccountToken) Unmarshal(data []byte) error
type HomeScreen ¶
type HomeScreen struct { EpisodeNumber int `json:",string"` ReleaseDate time.Time // 2007-01-01T000000Z SeasonNumber int `json:",string"` Series *struct { Title string } Title string }
func (*HomeScreen) New ¶
func (h *HomeScreen) New(id string) error
type Namer ¶
type Namer struct {
Home HomeScreen
}
Click to show internal directories.
Click to hide internal directories.