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.
Click to show internal directories.
Click to hide internal directories.