# README
Muxinator
Muxinator is a simple wrapper around the gorilla/mux
and urfave/negroni
packages to make it easier to build an HTTP router with middleware.
Example
router := muxinator.NewRouter()
router.AddMiddleware(globalMiddleware)
router.Get("/path", middleware1, middleware2)
router.Patch("/path", middleware2, middleware3)
http.ListenAndServe(":80", router.BuildHandler())
# Functions
NewRouter returns a new Router instance with some defaults.
# Structs
Router is a wrapper around the gorilla mux router and the negroni middleware library.
# Type aliases
Middleware replicates the negroni.HandlerFunc type but decouples the code from the library.