handler

package
v0.0.0-...-ad25176 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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

func HandleInfra(service *infrared.Service) func(w http.ResponseWriter, r *http.Request)

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

func HandleQuit(service *cast.Service) func(w http.ResponseWriter, r *http.Request)

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.

Jump to

Keyboard shortcuts

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