Skip to content

hawx/circumambient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Circumambient

Simple proxy to log details of any request made through it to redis.

Getting started

Install redis and start redis-server if it isn't already running.

Then,

$ go get hawx.me/code/circumambient
$ circumambient --help
...
$ circumambient --in localhost:3002 --out localhost:3001
...

Now any requests to localhost:3002 will be passed to localhost:3001, and any redis subscribers* listening on the channel "requests" will get the following message:

{
  "method": "...",
  "url": "...",
  "headers": {

  },
  "timestamp": 1397731289,
  "duration": 14331
}

* Subscribers not included.

About

Simple web proxy that publishes details of requests to redis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages