server_utils v0.1.6 API Reference

Modules

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

Moule that represents a cursor pagination

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

JWT parser to get claim values

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