package nsq
A client library for the NSQ messaging platform
Install
Dune Dependency
Authors
Maintainers
Sources
0.5.3.tar.gz
md5=1a1e79bc25558efcea4b6a8b6a0e0d16
sha512=72f1f1ea66e9f4d97f9a8d0dcf40807ba0aec283e022d1be5fa290dddf31e420949b5a24c012e11912d385c5838ce1779b9b7ee0fb2e452866ae1ee67ecaa05e
Description
Published: 03 Nov 2020
README
NSQ Client Library in OCaml
A simple client library for the NSQ message platform.
See examples for a simple example that publishes and subscribes on the same topic.
Getting started
To compile the example program:
NOTE: You will need to change the IP address to that of the docker host in example.ml
opam install containers lwt ocplib-endian integers cohttp-lwt-unix
make
Spin up NSQD using docker:
docker run nsqio/nsq nsqd
Run the example:
_build/default/examples/example.exe
Dependencies (15)
-
hex
>= "1.3.0"
- logs
-
ppx_jane
>= "v0.12"
-
ppx_deriving_yojson
>= "3.2"
- ocaml-migrate-parsetree
- yojson
- cohttp-lwt-unix
- cohttp
- integers
- ocplib-endian
-
lwt
>= "3.2.0"
-
stdio
< "v0.15"
-
base
< "v0.15"
-
dune
>= "2.0"
-
ocaml
>= "4.04.0"
Dev Dependencies
None
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page