Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(srv service) *Handler
func (*Handler) CrawlAllMovies ¶
func (h *Handler) CrawlAllMovies(w http.ResponseWriter, r *http.Request)
func (*Handler) GetAllGenres ¶
func (h *Handler) GetAllGenres(w http.ResponseWriter, r *http.Request)
type Response ¶
type Response struct {
VideoPlaybackId string `json:"videoPlaybackId"`
VideoPlaybackToken string `json:"videoPlaybackToken"`
VideoLegacyAdUrl string `json:"videoLegacyAdUrl"`
VideoLegacyEncodings []struct {
Definition string `json:"definition"`
MimeType string `json:"mimeType"`
URL string `json:"url"`
} `json:"videoLegacyEncodings"`
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(movieService movieService) *Service
func NewServiceCLI ¶
func NewServiceCLI(movieService movieService) *Service
func (*Service) CrawlMovieInfo ¶
func (*Service) GetAllGenres ¶
Click to show internal directories.
Click to hide internal directories.