Documentation
¶
Index ¶
- Constants
- func Recode(tmdbFilm *tmdb.Film, tmdbCollection *tmdb.Collection) (io.Writer, error)
- type Film
- func (s Film) BackdropPath() (string, error)
- func (s Film) BackdropPathBytes() ([]byte, error)
- func (s Film) Cast() (Film_Character_List, error)
- func (s Film) Collection() (Film_Collection, error)
- func (s Film) Crew() (Film_CrewMember_List, error)
- func (s Film) Genres() (capnp.TextList, error)
- func (s Film) HasBackdropPath() bool
- func (s Film) HasCast() bool
- func (s Film) HasCollection() bool
- func (s Film) HasCrew() bool
- func (s Film) HasGenres() bool
- func (s Film) HasOriginalTitle() bool
- func (s Film) HasOverview() bool
- func (s Film) HasPosterPath() bool
- func (s Film) HasReleaseDate() bool
- func (s Film) HasTagline() bool
- func (s Film) HasTitle() bool
- func (s Film) Id() uint64
- func (s Film) IsAdult() bool
- func (s Film) Mark() float32
- func (s Film) NewCast(n int32) (Film_Character_List, error)
- func (s Film) NewCollection() (Film_Collection, error)
- func (s Film) NewCrew(n int32) (Film_CrewMember_List, error)
- func (s Film) NewGenres(n int32) (capnp.TextList, error)
- func (s Film) NewReleaseDate() (Film_Date, error)
- func (s Film) OriginalTitle() (string, error)
- func (s Film) OriginalTitleBytes() ([]byte, error)
- func (s Film) Overview() (string, error)
- func (s Film) OverviewBytes() ([]byte, error)
- func (s Film) PosterPath() (string, error)
- func (s Film) PosterPathBytes() ([]byte, error)
- func (s Film) ReleaseDate() (Film_Date, error)
- func (s Film) Runtime() uint16
- func (s Film) SetBackdropPath(v string) error
- func (s Film) SetCast(v Film_Character_List) error
- func (s Film) SetCollection(v Film_Collection) error
- func (s Film) SetCrew(v Film_CrewMember_List) error
- func (s Film) SetGenres(v capnp.TextList) error
- func (s Film) SetId(v uint64)
- func (s Film) SetIsAdult(v bool)
- func (s Film) SetMark(v float32)
- func (s Film) SetOriginalTitle(v string) error
- func (s Film) SetOverview(v string) error
- func (s Film) SetPosterPath(v string) error
- func (s Film) SetReleaseDate(v Film_Date) error
- func (s Film) SetRuntime(v uint16)
- func (s Film) SetStatus(v Film_Status)
- func (s Film) SetTagline(v string) error
- func (s Film) SetTitle(v string) error
- func (s Film) SetVoteCount(v uint64)
- func (s Film) Status() Film_Status
- func (s Film) String() string
- func (s Film) Tagline() (string, error)
- func (s Film) TaglineBytes() ([]byte, error)
- func (s Film) Title() (string, error)
- func (s Film) TitleBytes() ([]byte, error)
- func (s Film) VoteCount() uint64
- type Film_Character
- func (s Film_Character) HasName() bool
- func (s Film_Character) HasPerson() bool
- func (s Film_Character) Name() (string, error)
- func (s Film_Character) NameBytes() ([]byte, error)
- func (s Film_Character) NewPerson() (Person, error)
- func (s Film_Character) Person() (Person, error)
- func (s Film_Character) SetName(v string) error
- func (s Film_Character) SetPerson(v Person) error
- func (s Film_Character) String() string
- type Film_Character_List
- type Film_Character_Promise
- type Film_Collection
- func (s Film_Collection) HasName() bool
- func (s Film_Collection) HasParts() bool
- func (s Film_Collection) Name() (string, error)
- func (s Film_Collection) NameBytes() ([]byte, error)
- func (s Film_Collection) NewParts(n int32) (Film_Collection_CollectionPart_List, error)
- func (s Film_Collection) Parts() (Film_Collection_CollectionPart_List, error)
- func (s Film_Collection) SetName(v string) error
- func (s Film_Collection) SetParts(v Film_Collection_CollectionPart_List) error
- func (s Film_Collection) String() string
- type Film_Collection_CollectionPart
- func NewFilm_Collection_CollectionPart(s *capnp.Segment) (Film_Collection_CollectionPart, error)
- func NewRootFilm_Collection_CollectionPart(s *capnp.Segment) (Film_Collection_CollectionPart, error)
- func ReadRootFilm_Collection_CollectionPart(msg *capnp.Message) (Film_Collection_CollectionPart, error)
- func (s Film_Collection_CollectionPart) HasPosterPath() bool
- func (s Film_Collection_CollectionPart) HasReleaseDate() bool
- func (s Film_Collection_CollectionPart) HasTitle() bool
- func (s Film_Collection_CollectionPart) Id() uint64
- func (s Film_Collection_CollectionPart) NewReleaseDate() (Film_Date, error)
- func (s Film_Collection_CollectionPart) PosterPath() (string, error)
- func (s Film_Collection_CollectionPart) PosterPathBytes() ([]byte, error)
- func (s Film_Collection_CollectionPart) ReleaseDate() (Film_Date, error)
- func (s Film_Collection_CollectionPart) SetId(v uint64)
- func (s Film_Collection_CollectionPart) SetPosterPath(v string) error
- func (s Film_Collection_CollectionPart) SetReleaseDate(v Film_Date) error
- func (s Film_Collection_CollectionPart) SetTitle(v string) error
- func (s Film_Collection_CollectionPart) String() string
- func (s Film_Collection_CollectionPart) Title() (string, error)
- func (s Film_Collection_CollectionPart) TitleBytes() ([]byte, error)
- type Film_Collection_CollectionPart_List
- type Film_Collection_CollectionPart_Promise
- type Film_Collection_List
- type Film_Collection_Promise
- type Film_CrewMember
- func (s Film_CrewMember) HasJob() bool
- func (s Film_CrewMember) HasPerson() bool
- func (s Film_CrewMember) Job() (string, error)
- func (s Film_CrewMember) JobBytes() ([]byte, error)
- func (s Film_CrewMember) NewPerson() (Person, error)
- func (s Film_CrewMember) Person() (Person, error)
- func (s Film_CrewMember) SetJob(v string) error
- func (s Film_CrewMember) SetPerson(v Person) error
- func (s Film_CrewMember) String() string
- type Film_CrewMember_List
- type Film_CrewMember_Promise
- type Film_Date
- type Film_Date_List
- type Film_Date_Promise
- type Film_List
- type Film_Promise
- type Film_Status
- type Film_Status_List
- type Person
- func (s Person) HasName() bool
- func (s Person) HasPhotoPath() bool
- func (s Person) Id() uint64
- func (s Person) Name() (string, error)
- func (s Person) NameBytes() ([]byte, error)
- func (s Person) PhotoPath() (string, error)
- func (s Person) PhotoPathBytes() ([]byte, error)
- func (s Person) SetId(v uint64)
- func (s Person) SetName(v string) error
- func (s Person) SetPhotoPath(v string) error
- func (s Person) String() string
- type Person_List
- type Person_Promise
Constants ¶
const Film_Character_TypeID = 0xfc58a269203af0a8
Film_Character_TypeID is the unique identifier for the type Film_Character.
const Film_Collection_CollectionPart_TypeID = 0xa0d6cbb1ccac3e25
Film_Collection_CollectionPart_TypeID is the unique identifier for the type Film_Collection_CollectionPart.
const Film_Collection_TypeID = 0xd4e4ef9e83a4bc53
Film_Collection_TypeID is the unique identifier for the type Film_Collection.
const Film_CrewMember_TypeID = 0x8afd64c84282f606
Film_CrewMember_TypeID is the unique identifier for the type Film_CrewMember.
const Film_Date_TypeID = 0xc1264952b8db1201
Film_Date_TypeID is the unique identifier for the type Film_Date.
const Film_Status_TypeID = 0xbacdba448901b941
Film_Status_TypeID is the unique identifier for the type Film_Status.
const Film_TypeID = 0x8662baafda730202
Film_TypeID is the unique identifier for the type Film.
const Person_TypeID = 0xbe38be3daa02cbbb
Person_TypeID is the unique identifier for the type Person.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Film ¶
func (Film) BackdropPath ¶
func (Film) BackdropPathBytes ¶
func (Film) Cast ¶
func (s Film) Cast() (Film_Character_List, error)
func (Film) Collection ¶
func (s Film) Collection() (Film_Collection, error)
func (Film) Crew ¶
func (s Film) Crew() (Film_CrewMember_List, error)
func (Film) HasBackdropPath ¶
func (Film) HasCollection ¶
func (Film) HasOriginalTitle ¶
func (Film) HasOverview ¶
func (Film) HasPosterPath ¶
func (Film) HasReleaseDate ¶
func (Film) HasTagline ¶
func (Film) NewCast ¶
func (s Film) NewCast(n int32) (Film_Character_List, error)
NewCast sets the cast field to a newly allocated Film_Character_List, preferring placement in s's segment.
func (Film) NewCollection ¶
func (s Film) NewCollection() (Film_Collection, error)
NewCollection sets the collection field to a newly allocated Film_Collection struct, preferring placement in s's segment.
func (Film) NewCrew ¶
func (s Film) NewCrew(n int32) (Film_CrewMember_List, error)
NewCrew sets the crew field to a newly allocated Film_CrewMember_List, preferring placement in s's segment.
func (Film) NewGenres ¶
NewGenres sets the genres field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (Film) NewReleaseDate ¶
NewReleaseDate sets the releaseDate field to a newly allocated Film_Date struct, preferring placement in s's segment.
func (Film) OriginalTitle ¶
func (Film) OriginalTitleBytes ¶
func (Film) OverviewBytes ¶
func (Film) PosterPath ¶
func (Film) PosterPathBytes ¶
func (Film) ReleaseDate ¶
func (Film) SetBackdropPath ¶
func (Film) SetCast ¶
func (s Film) SetCast(v Film_Character_List) error
func (Film) SetCollection ¶
func (s Film) SetCollection(v Film_Collection) error
func (Film) SetCrew ¶
func (s Film) SetCrew(v Film_CrewMember_List) error
func (Film) SetIsAdult ¶
func (Film) SetOriginalTitle ¶
func (Film) SetOverview ¶
func (Film) SetPosterPath ¶
func (Film) SetReleaseDate ¶
func (Film) SetRuntime ¶
func (Film) SetStatus ¶
func (s Film) SetStatus(v Film_Status)
func (Film) SetTagline ¶
func (Film) SetVoteCount ¶
func (Film) Status ¶
func (s Film) Status() Film_Status
func (Film) TaglineBytes ¶
func (Film) TitleBytes ¶
type Film_Character ¶
func NewFilm_Character ¶
func NewFilm_Character(s *capnp.Segment) (Film_Character, error)
func NewRootFilm_Character ¶
func NewRootFilm_Character(s *capnp.Segment) (Film_Character, error)
func ReadRootFilm_Character ¶
func ReadRootFilm_Character(msg *capnp.Message) (Film_Character, error)
func (Film_Character) HasName ¶
func (s Film_Character) HasName() bool
func (Film_Character) HasPerson ¶
func (s Film_Character) HasPerson() bool
func (Film_Character) Name ¶
func (s Film_Character) Name() (string, error)
func (Film_Character) NameBytes ¶
func (s Film_Character) NameBytes() ([]byte, error)
func (Film_Character) NewPerson ¶
func (s Film_Character) NewPerson() (Person, error)
NewPerson sets the person field to a newly allocated Person struct, preferring placement in s's segment.
func (Film_Character) Person ¶
func (s Film_Character) Person() (Person, error)
func (Film_Character) SetName ¶
func (s Film_Character) SetName(v string) error
func (Film_Character) SetPerson ¶
func (s Film_Character) SetPerson(v Person) error
func (Film_Character) String ¶
func (s Film_Character) String() string
type Film_Character_List ¶
Film_Character_List is a list of Film_Character.
func NewFilm_Character_List ¶
func NewFilm_Character_List(s *capnp.Segment, sz int32) (Film_Character_List, error)
NewFilm_Character creates a new list of Film_Character.
func (Film_Character_List) At ¶
func (s Film_Character_List) At(i int) Film_Character
func (Film_Character_List) Set ¶
func (s Film_Character_List) Set(i int, v Film_Character) error
func (Film_Character_List) String ¶
func (s Film_Character_List) String() string
type Film_Character_Promise ¶
Film_Character_Promise is a wrapper for a Film_Character promised by a client call.
func (Film_Character_Promise) Person ¶
func (p Film_Character_Promise) Person() Person_Promise
func (Film_Character_Promise) Struct ¶
func (p Film_Character_Promise) Struct() (Film_Character, error)
type Film_Collection ¶
func NewFilm_Collection ¶
func NewFilm_Collection(s *capnp.Segment) (Film_Collection, error)
func NewRootFilm_Collection ¶
func NewRootFilm_Collection(s *capnp.Segment) (Film_Collection, error)
func ReadRootFilm_Collection ¶
func ReadRootFilm_Collection(msg *capnp.Message) (Film_Collection, error)
func (Film_Collection) HasName ¶
func (s Film_Collection) HasName() bool
func (Film_Collection) HasParts ¶
func (s Film_Collection) HasParts() bool
func (Film_Collection) Name ¶
func (s Film_Collection) Name() (string, error)
func (Film_Collection) NameBytes ¶
func (s Film_Collection) NameBytes() ([]byte, error)
func (Film_Collection) NewParts ¶
func (s Film_Collection) NewParts(n int32) (Film_Collection_CollectionPart_List, error)
NewParts sets the parts field to a newly allocated Film_Collection_CollectionPart_List, preferring placement in s's segment.
func (Film_Collection) Parts ¶
func (s Film_Collection) Parts() (Film_Collection_CollectionPart_List, error)
func (Film_Collection) SetName ¶
func (s Film_Collection) SetName(v string) error
func (Film_Collection) SetParts ¶
func (s Film_Collection) SetParts(v Film_Collection_CollectionPart_List) error
func (Film_Collection) String ¶
func (s Film_Collection) String() string
type Film_Collection_CollectionPart ¶
func NewFilm_Collection_CollectionPart ¶
func NewFilm_Collection_CollectionPart(s *capnp.Segment) (Film_Collection_CollectionPart, error)
func NewRootFilm_Collection_CollectionPart ¶
func NewRootFilm_Collection_CollectionPart(s *capnp.Segment) (Film_Collection_CollectionPart, error)
func ReadRootFilm_Collection_CollectionPart ¶
func ReadRootFilm_Collection_CollectionPart(msg *capnp.Message) (Film_Collection_CollectionPart, error)
func (Film_Collection_CollectionPart) HasPosterPath ¶
func (s Film_Collection_CollectionPart) HasPosterPath() bool
func (Film_Collection_CollectionPart) HasReleaseDate ¶
func (s Film_Collection_CollectionPart) HasReleaseDate() bool
func (Film_Collection_CollectionPart) HasTitle ¶
func (s Film_Collection_CollectionPart) HasTitle() bool
func (Film_Collection_CollectionPart) Id ¶
func (s Film_Collection_CollectionPart) Id() uint64
func (Film_Collection_CollectionPart) NewReleaseDate ¶
func (s Film_Collection_CollectionPart) NewReleaseDate() (Film_Date, error)
NewReleaseDate sets the releaseDate field to a newly allocated Film_Date struct, preferring placement in s's segment.
func (Film_Collection_CollectionPart) PosterPath ¶
func (s Film_Collection_CollectionPart) PosterPath() (string, error)
func (Film_Collection_CollectionPart) PosterPathBytes ¶
func (s Film_Collection_CollectionPart) PosterPathBytes() ([]byte, error)
func (Film_Collection_CollectionPart) ReleaseDate ¶
func (s Film_Collection_CollectionPart) ReleaseDate() (Film_Date, error)
func (Film_Collection_CollectionPart) SetId ¶
func (s Film_Collection_CollectionPart) SetId(v uint64)
func (Film_Collection_CollectionPart) SetPosterPath ¶
func (s Film_Collection_CollectionPart) SetPosterPath(v string) error
func (Film_Collection_CollectionPart) SetReleaseDate ¶
func (s Film_Collection_CollectionPart) SetReleaseDate(v Film_Date) error
func (Film_Collection_CollectionPart) SetTitle ¶
func (s Film_Collection_CollectionPart) SetTitle(v string) error
func (Film_Collection_CollectionPart) String ¶
func (s Film_Collection_CollectionPart) String() string
func (Film_Collection_CollectionPart) Title ¶
func (s Film_Collection_CollectionPart) Title() (string, error)
func (Film_Collection_CollectionPart) TitleBytes ¶
func (s Film_Collection_CollectionPart) TitleBytes() ([]byte, error)
type Film_Collection_CollectionPart_List ¶
Film_Collection_CollectionPart_List is a list of Film_Collection_CollectionPart.
func NewFilm_Collection_CollectionPart_List ¶
func NewFilm_Collection_CollectionPart_List(s *capnp.Segment, sz int32) (Film_Collection_CollectionPart_List, error)
NewFilm_Collection_CollectionPart creates a new list of Film_Collection_CollectionPart.
func (Film_Collection_CollectionPart_List) At ¶
func (s Film_Collection_CollectionPart_List) At(i int) Film_Collection_CollectionPart
func (Film_Collection_CollectionPart_List) Set ¶
func (s Film_Collection_CollectionPart_List) Set(i int, v Film_Collection_CollectionPart) error
func (Film_Collection_CollectionPart_List) String ¶
func (s Film_Collection_CollectionPart_List) String() string
type Film_Collection_CollectionPart_Promise ¶
Film_Collection_CollectionPart_Promise is a wrapper for a Film_Collection_CollectionPart promised by a client call.
func (Film_Collection_CollectionPart_Promise) ReleaseDate ¶
func (p Film_Collection_CollectionPart_Promise) ReleaseDate() Film_Date_Promise
func (Film_Collection_CollectionPart_Promise) Struct ¶
func (p Film_Collection_CollectionPart_Promise) Struct() (Film_Collection_CollectionPart, error)
type Film_Collection_List ¶
Film_Collection_List is a list of Film_Collection.
func NewFilm_Collection_List ¶
func NewFilm_Collection_List(s *capnp.Segment, sz int32) (Film_Collection_List, error)
NewFilm_Collection creates a new list of Film_Collection.
func (Film_Collection_List) At ¶
func (s Film_Collection_List) At(i int) Film_Collection
func (Film_Collection_List) Set ¶
func (s Film_Collection_List) Set(i int, v Film_Collection) error
func (Film_Collection_List) String ¶
func (s Film_Collection_List) String() string
type Film_Collection_Promise ¶
Film_Collection_Promise is a wrapper for a Film_Collection promised by a client call.
func (Film_Collection_Promise) Struct ¶
func (p Film_Collection_Promise) Struct() (Film_Collection, error)
type Film_CrewMember ¶
func NewFilm_CrewMember ¶
func NewFilm_CrewMember(s *capnp.Segment) (Film_CrewMember, error)
func NewRootFilm_CrewMember ¶
func NewRootFilm_CrewMember(s *capnp.Segment) (Film_CrewMember, error)
func ReadRootFilm_CrewMember ¶
func ReadRootFilm_CrewMember(msg *capnp.Message) (Film_CrewMember, error)
func (Film_CrewMember) HasJob ¶
func (s Film_CrewMember) HasJob() bool
func (Film_CrewMember) HasPerson ¶
func (s Film_CrewMember) HasPerson() bool
func (Film_CrewMember) Job ¶
func (s Film_CrewMember) Job() (string, error)
func (Film_CrewMember) JobBytes ¶
func (s Film_CrewMember) JobBytes() ([]byte, error)
func (Film_CrewMember) NewPerson ¶
func (s Film_CrewMember) NewPerson() (Person, error)
NewPerson sets the person field to a newly allocated Person struct, preferring placement in s's segment.
func (Film_CrewMember) Person ¶
func (s Film_CrewMember) Person() (Person, error)
func (Film_CrewMember) SetJob ¶
func (s Film_CrewMember) SetJob(v string) error
func (Film_CrewMember) SetPerson ¶
func (s Film_CrewMember) SetPerson(v Person) error
func (Film_CrewMember) String ¶
func (s Film_CrewMember) String() string
type Film_CrewMember_List ¶
Film_CrewMember_List is a list of Film_CrewMember.
func NewFilm_CrewMember_List ¶
func NewFilm_CrewMember_List(s *capnp.Segment, sz int32) (Film_CrewMember_List, error)
NewFilm_CrewMember creates a new list of Film_CrewMember.
func (Film_CrewMember_List) At ¶
func (s Film_CrewMember_List) At(i int) Film_CrewMember
func (Film_CrewMember_List) Set ¶
func (s Film_CrewMember_List) Set(i int, v Film_CrewMember) error
func (Film_CrewMember_List) String ¶
func (s Film_CrewMember_List) String() string
type Film_CrewMember_Promise ¶
Film_CrewMember_Promise is a wrapper for a Film_CrewMember promised by a client call.
func (Film_CrewMember_Promise) Person ¶
func (p Film_CrewMember_Promise) Person() Person_Promise
func (Film_CrewMember_Promise) Struct ¶
func (p Film_CrewMember_Promise) Struct() (Film_CrewMember, error)
type Film_Date_List ¶
Film_Date_List is a list of Film_Date.
func NewFilm_Date_List ¶
func NewFilm_Date_List(s *capnp.Segment, sz int32) (Film_Date_List, error)
NewFilm_Date creates a new list of Film_Date.
func (Film_Date_List) At ¶
func (s Film_Date_List) At(i int) Film_Date
func (Film_Date_List) String ¶
func (s Film_Date_List) String() string
type Film_Date_Promise ¶
Film_Date_Promise is a wrapper for a Film_Date promised by a client call.
func (Film_Date_Promise) Struct ¶
func (p Film_Date_Promise) Struct() (Film_Date, error)
type Film_List ¶
Film_List is a list of Film.
func NewFilm_List ¶
NewFilm creates a new list of Film.
type Film_Promise ¶
Film_Promise is a wrapper for a Film promised by a client call.
func (Film_Promise) Collection ¶
func (p Film_Promise) Collection() Film_Collection_Promise
func (Film_Promise) ReleaseDate ¶
func (p Film_Promise) ReleaseDate() Film_Date_Promise
func (Film_Promise) Struct ¶
func (p Film_Promise) Struct() (Film, error)
type Film_Status ¶
type Film_Status uint16
const ( Film_Status_rumored Film_Status = 0 Film_Status_planned Film_Status = 1 Film_Status_inProduction Film_Status = 2 Film_Status_postProduction Film_Status = 3 Film_Status_released Film_Status = 4 Film_Status_cancelled Film_Status = 5 )
Values of Film_Status.
func Film_StatusFromString ¶
func Film_StatusFromString(c string) Film_Status
Film_StatusFromString returns the enum value with a name, or the zero value if there's no such value.
func (Film_Status) String ¶
func (c Film_Status) String() string
String returns the enum's constant name.
type Film_Status_List ¶
func NewFilm_Status_List ¶
func NewFilm_Status_List(s *capnp.Segment, sz int32) (Film_Status_List, error)
func (Film_Status_List) At ¶
func (l Film_Status_List) At(i int) Film_Status
func (Film_Status_List) Set ¶
func (l Film_Status_List) Set(i int, v Film_Status)
type Person ¶
func (Person) HasPhotoPath ¶
func (Person) PhotoPathBytes ¶
func (Person) SetPhotoPath ¶
type Person_List ¶
Person_List is a list of Person.
func NewPerson_List ¶
func NewPerson_List(s *capnp.Segment, sz int32) (Person_List, error)
NewPerson creates a new list of Person.
func (Person_List) At ¶
func (s Person_List) At(i int) Person
func (Person_List) String ¶
func (s Person_List) String() string
type Person_Promise ¶
Person_Promise is a wrapper for a Person promised by a client call.
func (Person_Promise) Struct ¶
func (p Person_Promise) Struct() (Person, error)