Documentation ¶
Overview ¶
handlers contains the handlers to manage API endpoints
routes handles setting up routes for our API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContactHandler ¶
func ContactHandler(w http.ResponseWriter, r *http.Request, gapi *governor.API)
ContactHandler handles POST data for a Contact. The handler is wrapped to provide convenience access to a governor.API
func SetupRoutes ¶
func SetupRoutes(gapi *governor.API)
SetupRoutes defines and associates routes to handlers. Use a wrapper convention to pass a governor API to each handler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.