No description, website, or topics provided.
Go JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
templates
.gitignore
.gobuild.yml
Makefile
README.md
server.go

README.md

RemoteDebugCenter

Debug tool with live logging. You can POST key/value messages. And fetch them with a web UI.

Dependencies

  • Redis

Build

Gobuild Download

Install

Extract the archive. Launch RemoteDebugCenter. By default the Remote debug center listen to port 4242. You can change it by passing -port=:<port>. By default the Remote debug center initialize a connection to redis on localhost:6379. Yout can change it by passing -redis-url=<host>:<port>.

API

Homepage

The entry point is /. Inside the template a Websocket call is made to /feed to stream the logs

Feed

The entry point is /feed. It streams the logs through websocket.

Debug

The entry point is /debug. It handle the messages sent by any application and pushes them to redis.

curl -X POST http://localhost:4242/debug -d "some message"

Or you POST in JSON format:

curl -X POST http://localhost:4242/debug -d "{\"raw\": \"some message\"}"