Package httprouter is a trie based high performance HTTP request router.
Package chi is a small, idiomatic and composable router for building HTTP services.
Package router is a trie based high performance HTTP request router.
Package router provides an HTTP router.
Package violetear - HTTP router Basic example: package main import ( "fmt" "github.com/nbari/violetear" "log" "net/http" ) func catchAll(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, r.URL.Path[1:]) } func helloWorld(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, r.URL.Path[1:]) } func handleUUID(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, r.URL.Path[1:]) } func main() { router := violetear.New() router.LogRequests = true router.RequestID = "REQUEST_LOG_ID" router.AddRegex(":uuid", `[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}`) router.HandleFunc("*", catchAll) router.HandleFunc("/hello", helloWorld, "GET,HEAD") router.HandleFunc("/root/:uuid/item", handleUUID, "POST,PUT") srv := &http.Server{ Addr: ":8080", Handler: router, ReadTimeout: 5 * time.Second, WriteTimeout: 7 * time.Second, MaxHeaderBytes: 1 << 20, } log.Fatal(srv.ListenAndServe()) }
Package handler is a provides a command handler in the style of an HTTP router.
Package vestigo implements a performant, stand-alone, HTTP compliant URL Router for go web applications.
Package ship has implemented a flexible, powerful, high performance and minimalist Go Web HTTP router framework, which is inspired by echo and httprouter.
Package clevergo is a trie based high performance HTTP request router.
Package gorouter is a simple and fast HTTP router for Go.
Package ngamux is simple HTTP router for Go that compatible with net/http, the standard library to serve HTTP.
Package flow is a delightfully simple, readable, and tiny HTTP router for Go web applications.
Package lars - Library Access/Retrieval System, is a fast radix-tree based, zero allocation, HTTP router for Go.
Package router provides an HTTP router with support for middleware and subrouters.
Package router is a micro plugin for defining HTTP routes
Package clevergo is a trie based high performance HTTP request router.