You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
tools | 3 years ago | |
.gitignore | 3 years ago | |
.goreleaser.yml | 2 years ago | |
Dockerfile | 3 years ago | |
LICENSE | 3 years ago | |
Makefile | 3 years ago | |
README.md | 2 years ago | |
_config.yml | 3 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
main.go | 3 years ago | |
pubsub.go | 3 years ago | |
queue.go | 3 years ago | |
version.go | 3 years ago |
README.md
conduit
conduit
ia an implementation of UNIX pipes over HTTP implementing MPMC / PubSub inspired
by PatchBay.
More to come...
Examples
Simple Queues / Multi-Producer=Multi-Consumer
$ curl http://localhost:8000/queue/hello -d 'Hello World'
$ curl http://localhost:8000/queue/hello
Hello World
Simple PubSub
$ curl http://localhost:8000/topic/foo -d 'Hello World'
$ curl http://localhost:8000/topic/foo
Hello World
$ curl http://localhost:8000/topic/foo
Hello World
Poor man's Web Server
$ while true; do curl http://localhost:8000/queue/index.html --data-binary @./index.html; done
...