router icon indicating copy to clipboard operation
router copied to clipboard

Router implementation for fasthttp

Results 4 router issues
Sort by recently updated
recently updated
newest added

I have a very restrictive requirement I need to support path likes /foo /foo/ **without** redirect from one form to the other ( in other words, the last trailing slash...

i had this code in 'net/http' and we were serving static directory using this code but now we have shifted our code(projects) from net/http to fasthttp and in fasthttp there...

```go func Index(ctx *fasthttp.RequestCtx) { ctx.WriteString("Welcome!") } func Hello(ctx *fasthttp.RequestCtx) { fmt.Fprintf(ctx, "Hello, %s!\n", ctx.UserValue("name")) } func main() { r := router.New() r.GET("/", Index) r.GET("/{name1}/{name3}", Hello) r.GET("/{name}/{name3}", Hello) log.Fatal(fasthttp.ListenAndServe(":8080", r.Handler))...

it's possibe to reloading router ?