package nsq
A client library for the NSQ messaging platform
Install
Dune Dependency
Authors
Maintainers
Sources
0.4.0.tar.gz
md5=6766835eb3c9735269f327ca0bec282c
sha512=2a544b9148c681ce213c9b6fe75126f98d762a5965011d05f9bfccd21a621f04c10eb1f5bcddb173ac62dbc807bbb8f39669ba875cd58081ec2a975fc3e8b686
Description
Published: 19 Feb 2019
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 (16)
- logs
- ppx_compare
- ppx_expect
- ppx_sexp_conv
-
ppx_deriving_yojson
>= "3.2"
-
ocaml-migrate-parsetree
< "2.0.0"
- yojson
- cohttp-lwt-unix
- cohttp
- integers
- ocplib-endian
-
lwt
>= "3.2.0"
-
stdio
< "v0.15"
-
base
< "v0.15"
- dune
-
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