types

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Code    int16  `json:"code"`
	Message string `json:"Message"`
}

type MovieDetail

type MovieDetail struct {
	Homepage         string  `json:"homepage"`
	Id               int32   `json:"id"`
	ImdbId           string  `json:"imdb_id"`
	OriginalLanguage string  `json:"original_language"`
	OriginalTitle    string  `json:"original_title"`
	Overview         string  `json:"overview"`
	Popularity       float32 `json:"popularity"`
	PosterPath       string  `json:"poster_path"`
}

type Param

type Param struct {
	Id    string
	Value string
}

type PopularMovies

type PopularMovies struct {
	Page         int       `json:"page"`
	TotalResults int16     `json:"total_results"`
	TotalPages   int       `json:"total_pages"`
	Results      []Results `json:"results"`
}

type ResponseDetail

type ResponseDetail struct {
	Code    int16
	Message string
}

type Results

type Results struct {
	Popularity  float32 `json:"popularity"`
	VoteCount   int16   `json:"vote_count"`
	Video       bool    `json:"video"`
	PosterPath  string  `json:"poster_path"`
	Title       string  `json:"title"`
	VoteAverage float32 `json:"vote_average"`
	Id          int32   `json:"id"`
	Overview    string  `json:"overview"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL