plexus / tracer-gui

Trace Ring requests and inspect them in a GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tracer GUI

Artifacts

Clojars Project

Usage

Wrap your Ring handler in trace-ring, a GUI will pop up where you see the history of request, and you can inspect request and response maps.

Only one window will be open at a time. Evaluate trace-ring again to re-open a closed window.

(ns my-app.server
  (:require [tracer-gui.core :refer [trace-ring]]))

(def my-routes ,,, ;; ring routes
  )

(def http-handler
  (trace-ring my-routes))

This is alpha level software, provided as is. Pull requests are welcome!

License

All code and content Copyright © 2016 Arne Brasseur

Distributed under the Mozilla Public License 2.0, see LICENSE.

tl;dr

This is only a short summary of the Full Text, this information is not legal advice.

MPL is a copyleft license that works on individual files. Any changes you make to files covered by MPL must be made available under MPL, but you may combine these with non-MPL (proprietary) source files in the same project. Version 2.0 is compatible with GPL version 3. You can distribute binaries under a proprietary license, as long as you make the source available under MPL.

About

Trace Ring requests and inspect them in a GUI

License:Mozilla Public License 2.0


Languages

Language:Clojure 100.0%