/fasthttproute

应用于fasthttp的简单路由

Primary LanguageGoMIT LicenseMIT

fasthttproute

应用于fasthttp的路由

使用

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

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

LICENSE

MIT License