Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

alice-go/fer

Repository files navigation

fer

GitHub release GoDoc Build Status codecov DOI

fer is a simple reimplementation of FairMQ in Go.

License

fer is released under the BSD-3 license.

Installation

fer is installable via go get:

$> go get github.com/alice-go/fer/...

NOTE: you need at least go1.7.

Documentation

Documentation is available on godoc.

Examples

Testing example-2 from FairMQ tutorial

## terminal 1
$> fer-ex-sink --id sink1 --mq-config ./_example/cmd/testdata/ex2-sampler-processor-sink.json

## terminal 2
$> fer-ex-processor --id processor --mq-config ./_example/cmd/testdata/ex2-sampler-processor-sink.json

## terminal 3
$> fer-ex-sampler --id sampler1 --mq-config ./_example/cmd/testdata/ex2-sampler-processor-sink.json

This will run 3 devices, using the ZeroMQ transport.

To run with nanomsg as a transport layer, add --transport nanomsg to the invocations.