Documentation ¶
Index ¶
- func Fetch() *feeds.Feed
- func Serve(w http.ResponseWriter, r *http.Request)
- type Callendar
- type CallendarDatum
- type DatumDatum
- type DatumLinks
- type DatumValue
- type FluffyAttributes
- type FluffyType
- type Location
- type Meta
- type PurpleAttributes
- type PurpleType
- type Relationships
- type Welcome
- type WelcomeLinks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Callendar ¶
type Callendar struct {
Data []CallendarDatum `json:"data"`
}
type CallendarDatum ¶
type CallendarDatum struct { Type PurpleType `json:"type"` ID int64 `json:"id"` Attributes FluffyAttributes `json:"attributes"` }
type DatumDatum ¶
type DatumDatum struct { Type FluffyType `json:"type"` ID int64 `json:"id"` Attributes PurpleAttributes `json:"attributes"` Relationships Relationships `json:"relationships"` Links DatumLinks `json:"links"` }
type DatumLinks ¶
type DatumLinks struct {
Slug string `json:"slug"`
}
type DatumValue ¶
type DatumValue struct {
Data []DatumDatum `json:"data"`
}
type FluffyAttributes ¶
type PurpleAttributes ¶
type PurpleAttributes struct { TypesID int64 `json:"types_id"` GenresID int64 `json:"genres_id"` Archive int64 `json:"archive"` Position int64 `json:"position"` Bilety24URL string `json:"bilety24_url"` ImgURL string `json:"img_url"` Img2URL string `json:"img2_url"` PosterURL string `json:"poster_url"` Title string `json:"title"` Excerpt string `json:"excerpt"` ReleaseDate *string `json:"release_date"` AgeRestrictions *string `json:"age_restrictions"` Duration *string `json:"duration"` Location Location `json:"location"` }
type Relationships ¶
type Relationships struct {
Callendar Callendar `json:"callendar"`
}
type Welcome ¶
type Welcome struct { Data map[string]DatumValue `json:"data"` Links WelcomeLinks `json:"links"` Meta Meta `json:"meta"` }
type WelcomeLinks ¶
Click to show internal directories.
Click to hide internal directories.