server_utils v0.1.5 API Reference

Modules

JWT parser to get claim values

Logger wrapper that handles warn and error logging and sends a Sentry report. Both logging and Sentry calls will be executed asynchronously

Defines a page request for cursor pagination

Structure that represents a page request with the page information and the page size

Module to simplify the parsing of an Integer value

Module to get an integer() or a PageParams.t struct from a request map

Plug to build a paginated request

Plug to build a paginated request

Plug to intercept request and validate the presence of the JWT header

Exceptions