Skip to content

v0.2.0

Compare
Choose a tag to compare
@saurabh0719 saurabh0719 released this 20 Sep 05:56

Jett v0.2.0

Middleware -

Some essential middleware are provided out of the box in github.com/saurabh0719/jett/middleware -

  • RequestID : Injects a request ID into the context of each
    request

  • Logger : Log request paths, methods, status code as well as execution duration

  • Recoverer : Recover and handle panic

  • NoCache : Sets a number of HTTP headers to prevent
    a router (or subrouter) from being cached by an upstream proxy and/or client

  • BasicAuth : Basic Auth middleware, RFC 2617, Section 2

API mods -

Changed PathParams to URLParams and updated the docs.