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
- Host: GitHub
- URL: https://github.com/puzza007/folgian
- Owner: puzza007
- Created: 2014-10-03T09:07:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-08T14:36:08.000Z (over 11 years ago)
- Last Synced: 2024-12-31T20:16:22.170Z (over 1 year ago)
- Language: Erlang
- Size: 164 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]}])
```