modulepackage
0.0.4
Repository: https://github.com/go-mojito/router-fasthttp.git
Documentation: pkg.go.dev
# README
fasthttp for Mojito
fasthttp for Mojito provides a fasthttp Router implementation that was designed specifically for Mojito with full compatibility.
SonarCloud Report
Quickstart
To start using fasthttp as your router just enable it as the default router like this:
func init() {
fasthttp.AsDefault()
}
Or to use fasthttp as a secondary router you can register it as a named router like this:
func init() {
fasthttp.As("myRouter")
}
Documentation
Read our Documentation, check out the Project Website.
# Functions
As registers this router under a given name.
AsDefault registers this router as the default router.
No description provided by the author
NewRouter will create new instance of the mojito fasthttp router implementation.