fasthttproute

package module
v0.0.0-...-0aaf716 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2019 License: MIT Imports: 6 Imported by: 1

README

fasthttproute

应用于fasthttp的路由

使用

fasthttproute.Handle("/hello", func(ctx *fasthttp.RequestCtx) {
   ctx.SetBodyString("hi,fasthttproute!")
})

fasthttproute.ServeFasthttp(":80", fasthttproute.DefaultHandler)

LICENSE

MIT License

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL