Versions in this module Expand all Collapse all v1 v1.7.0 Aug 31, 2023 v1.6.1 Jul 20, 2023 v1.6.0 Jul 20, 2023 Changes in this version + var File_proto_movie_proto protoreflect.FileDescriptor + func NewMovieEndpoints() []*api.Endpoint + func RegisterMovieHandler(s server.Server, hdlr MovieHandler, opts ...server.HandlerOption) error + type MovieHandler interface + Search func(context.Context, *SearchRequest, *SearchResponse) error + type MovieInfo struct + Adult bool + BackdropPath string + GenreIds []int32 + Id int32 + OriginalLanguage string + OriginalTitle string + Overview string + Popularity float64 + PosterPath string + ReleaseDate string + Title string + Video bool + VoteAverage float64 + VoteCount int32 + func (*MovieInfo) Descriptor() ([]byte, []int) + func (*MovieInfo) ProtoMessage() + func (x *MovieInfo) GetAdult() bool + func (x *MovieInfo) GetBackdropPath() string + func (x *MovieInfo) GetGenreIds() []int32 + func (x *MovieInfo) GetId() int32 + func (x *MovieInfo) GetOriginalLanguage() string + func (x *MovieInfo) GetOriginalTitle() string + func (x *MovieInfo) GetOverview() string + func (x *MovieInfo) GetPopularity() float64 + func (x *MovieInfo) GetPosterPath() string + func (x *MovieInfo) GetReleaseDate() string + func (x *MovieInfo) GetTitle() string + func (x *MovieInfo) GetVideo() bool + func (x *MovieInfo) GetVoteAverage() float64 + func (x *MovieInfo) GetVoteCount() int32 + func (x *MovieInfo) ProtoReflect() protoreflect.Message + func (x *MovieInfo) Reset() + func (x *MovieInfo) String() string + type MovieService interface + Search func(ctx context.Context, in *SearchRequest, opts ...client.CallOption) (*SearchResponse, error) + func NewMovieService(name string, c client.Client) MovieService + type SearchRequest struct + Language string + Page int32 + PrimaryReleaseYear int32 + Query string + Region string + Year int32 + func (*SearchRequest) Descriptor() ([]byte, []int) + func (*SearchRequest) ProtoMessage() + func (x *SearchRequest) GetLanguage() string + func (x *SearchRequest) GetPage() int32 + func (x *SearchRequest) GetPrimaryReleaseYear() int32 + func (x *SearchRequest) GetQuery() string + func (x *SearchRequest) GetRegion() string + func (x *SearchRequest) GetYear() int32 + func (x *SearchRequest) ProtoReflect() protoreflect.Message + func (x *SearchRequest) Reset() + func (x *SearchRequest) String() string + type SearchResponse struct + Page int32 + Results []*MovieInfo + TotalPages int32 + TotalResults int32 + func (*SearchResponse) Descriptor() ([]byte, []int) + func (*SearchResponse) ProtoMessage() + func (x *SearchResponse) GetPage() int32 + func (x *SearchResponse) GetResults() []*MovieInfo + func (x *SearchResponse) GetTotalPages() int32 + func (x *SearchResponse) GetTotalResults() int32 + func (x *SearchResponse) ProtoReflect() protoreflect.Message + func (x *SearchResponse) Reset() + func (x *SearchResponse) String() string