Registry / web-framework / qiangxue-fasthttp-routing

qiangxue-fasthttp-routing

JSON →
library0.0.0-20160225050629-6ccdc2a18d87gogounverified

This package provides high-performance HTTP routing capabilities for the FastHTTP server.

go get github.com/qiangxue/fasthttp-routing
INSTALL
IMPORT
SIG · QIANGXUE-FASTHTTP-
Q
qiangxue-fasthttp-routing
web-frameworkgov0.0.0-20160225050629-6ccdc2a18d87
harness data pending
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.

Agent activity
6 hits · last 30 days
node
6
Resources
qiangxue-fasthttp-routing — go get qiangxue-fasthttp-routing · libregistry