go-http-nats-proxy

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

go-http-nats-proxy

depends on nats.io

build docker image:

docker build . -t nats-proxy

start nats.io docker:

docker run -it --rm --name nats nats:latest --debug

start nats-proxy:

docker run --rm -it --name nats-proxy --link nats nats-proxy

usage:

docker run -it --rm --link nats-proxy curlimages/curl:latest curl -X POST -H "Content-Type: text/plain" --data "hello there" "http://nats-proxy/?topic=test"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL