Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppHandler ¶
type AppHandler struct { Env *models.Env Handler func(env *models.Env, w http.ResponseWriter, r *http.Request) }
The Handler struct that takes a configured Env and a function matching our useful signature.
func (*AppHandler) ServeHTTP ¶
func (ah *AppHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP allows your type to satisfy the http.Handler interface.
Click to show internal directories.
Click to hide internal directories.