github.com/rkusa/timeout

A timeout middleware


License
MIT
Install
go get github.com/rkusa/timeout

Documentation

timeout

A timeout middleware that works well (but not exclusively) with rkusa/web.

Build Status GoDoc

Example

app := web.New()
app.Use(timeout.Timeout("20ms"))

License

MIT