Registry /
web-framework / qiangxue-fasthttp-routing
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
routing
✓ github.com/qiangxue/fasthttp-routing
Sets up a simple HTTP server with a GET route using FastHTTP routing.
package main
import (
"fmt"
"github.com/qiangxue/fasthttp-routing"
"github.com/valyala/fasthttp"
)
func main() {
router := routing.New()
router.Get("/hello", func(c *routing.Context) error {
fmt.Fprintf(c, "Hello, World!")
return nil
})
fasthttp.ListenAndServe(":8080", router.HandleRequest)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20160225050629-6ccdc2a18d87latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.