Documentation ¶
Overview ¶
Package router is used to define the routes to our request handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler interface { Health(w http.ResponseWriter, r *http.Request) Cached(w http.ResponseWriter, r *http.Request) Protected(w http.ResponseWriter, r *http.Request) NotFound(w http.ResponseWriter, r *http.Request) }
Handler exposes the functions for handling web requests.
Click to show internal directories.
Click to hide internal directories.