Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct { Func HandlerFunc Path string }
func NewHandler ¶
func NewHandler(p string, f HandlerFunc) Handler
NewHandler creates a handler object which forces a relationship between a handler and a path
type HandlerFunc ¶
type HandlerFunc func(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.