Documentation
¶
Index ¶
- func HandleAPIInformation(writer http.ResponseWriter, request *http.Request)
- func HandleDashboardServerInformation(writer http.ResponseWriter, request *http.Request)
- func HandleMoviesList(writer http.ResponseWriter, request *http.Request)
- func HandleSeriesList(writer http.ResponseWriter, request *http.Request)
- func InitializeMovieRouter()
- type FailedResponse
- type Movie
- type SuccessfulResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAPIInformation ¶
func HandleAPIInformation(writer http.ResponseWriter, request *http.Request)
func HandleDashboardServerInformation ¶
func HandleDashboardServerInformation(writer http.ResponseWriter, request *http.Request)
func HandleMoviesList ¶
func HandleMoviesList(writer http.ResponseWriter, request *http.Request)
func HandleSeriesList ¶
func HandleSeriesList(writer http.ResponseWriter, request *http.Request)
func InitializeMovieRouter ¶
func InitializeMovieRouter()
Types ¶
type FailedResponse ¶
type Movie ¶
type Movie struct { ID uint64 `json:"id"` Title string `json:"title"` OriginalTitle string `json:"original_title"` LocalTitle string `json:"local_title"` OriginalLanguage string `json:"original_language"` Languages []*common.Language `json:"languages"` Overview string `json:"overview"` Tagline string `json:"tagline"` Genres []*common.Genre `json:"genres"` Homepage string `json:"homepage"` Runtime uint64 `json:"runtime"` Status uint64 `json:"status"` Adult bool `json:"adult"` ImdbId string `json:"imdb_id"` ReleaseDate string `json:"release_date"` //ProductionCompanies //ProductionCountries VoteAverage float64 `json:"vote_average"` VoteCount uint64 `json:"vote_count"` Popularity float64 `json:"popularity"` Budget uint64 `json:"budget"` Revenue uint64 `json:"revenue"` Backdrop map[string]string `json:"backdrop"` Poster map[string]string `json:"poster"` }
type SuccessfulResponse ¶
Click to show internal directories.
Click to hide internal directories.