Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Greet ¶
func Greet(res http.ResponseWriter, req *http.Request)
Greet is one of the interesting bits. It gets a name out of the query string, if one was provided. And then it returns a string.
func Root ¶
func Root(res http.ResponseWriter, req *http.Request)
Root is the top-level handler for this version of the API. All requests for this version of the API start here. Requests are directed here by `Root.ServeHTTP` in `hello.go`. From here they will be forwarded onto the interesting bits. Invalid paths raise an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.