Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Handlers = []Handler{ { Handles: "/about", Handler: makeBasicHandler("about"), }, { Handles: "/projects", Handler: makeLinksHandler("projects"), }, { Handles: "/apps", Handler: makeLinksHandler("apps"), }, }
The actual handlers
Functions ¶
func HomeHandler ¶
func HomeHandler(writer http.ResponseWriter, request *http.Request)
HomeHandler handles /, generating data from Handlers
func RobotHandler ¶
func RobotHandler(writer http.ResponseWriter, request *http.Request)
RobotHandler creates a handler for robots.txt out of existing Handlers
Types ¶
Click to show internal directories.
Click to hide internal directories.