An open API service indexing awesome lists of open source software.

https://github.com/puzza007/folgian

Request tracing cowboy middleware
https://github.com/puzza007/folgian

Last synced: 3 months ago
JSON representation

Request tracing cowboy middleware

Awesome Lists containing this project

README

          

folgian
=======

Request tracing cowboy middleware. Adds a UUID to lager logging metadata and an HTTP response header.

```erlang
cowboy:start_http(http, 100, [{port, 8080}],
[{env, [{dispatch, Dispatch}]},
{middlewares, [cowboy_router, folgian, cowboy_handler]}])
```