Popularity
3.6
Stable
Activity
5.6
-
63
2
16

Programming language: Go
License: Mozilla Public License 2.0
Tags: Web Frameworks     Routers    

ngamux alternatives and similar packages

Based on the "Routers" category.
Alternatively, view ngamux alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ngamux or a related project?

Add another 'Routers' Package

README

ngamux

Simple HTTP router for Go

made-with-Go Go Version GoDoc Reference GoReportCard

Coverage Status


Installation

Run this command with correctly configured Go toolchain.

go get github.com/ngamux/ngamux

Examples

package main

import(
  "net/http"
  "github.com/ngamux/ngamux"
)

func main() {
  mux := ngamux.New()
  mux.Get("/", func(rw http.ResponseWriter, r *http.Request) error {
    return ngamux.JSON(rw, ngamux.Map{
      "message": "welcome!",
    })
  })

  http.ListenAndServe(":8080", mux)
}

See more examples!

Provided Middlewares

License

This project is licensed under the Mozilla Public License 2.0.

Contributors

Thanks to all contributors!

Contributors


*Note that all licence references and agreements mentioned in the ngamux README section above are relevant to that project's source code only.