Documentation ¶
Index ¶
- func HandleAlexa(conf config.Wrapper, castService *cast.Service, infraService *infrared.Service) http.HandlerFunc
- func HandleInfra(service *infrared.Service) func(w http.ResponseWriter, r *http.Request)
- func HandleMedia(service *cast.Service) http.HandlerFunc
- func HandleQuit(service *cast.Service) func(w http.ResponseWriter, r *http.Request)
- func HandleYoutube(service *cast.Service) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAlexa ¶
func HandleAlexa(conf config.Wrapper, castService *cast.Service, infraService *infrared.Service) http.HandlerFunc
HandleAlexa for alexa http requests
func HandleInfra ¶
HandleInfra sends a request to power the tv.
func HandleMedia ¶
func HandleMedia(service *cast.Service) http.HandlerFunc
HandleMedia for http calls to the media endpoint. Specifically for testing chromecast endpoint.
func HandleQuit ¶
HandleQuit to terminate based on the quit endpoint
func HandleYoutube ¶
func HandleYoutube(service *cast.Service) http.HandlerFunc
HandleYoutube for http calls to the youtube endpoint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.