handler

package
v0.0.0-...-e34364e Latest Latest
Warning

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

Go to latest
Published: May 7, 2014 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorHandler

func ColorHandler(rw http.ResponseWriter, req *http.Request)

The ColorHandler sets the LED color of the LED stripe connected to the Arduino.

func HomeHandler

func HomeHandler(rw http.ResponseWriter, req *http.Request)

The HomeHandler returns the index.html.

func QuestionHandler

func QuestionHandler(rw http.ResponseWriter, req *http.Request)

The QuestionHandler returns a randomly chosen question as JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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