github.com/alice-go/fer (go): Package fer provides a basic framework to run FairMQ-like processes. Clients create fer Devices that exchange data via fer message queue sockets.  A client device might look like so:  A device needs to implement the fer.Device interface:  Optionnally, the following methods may be also implemented:  Typically, the Configure method is used to retrieve the configuration associated with the client's device. The Init method is used to retrieve the channels of input/output data messages. The Run method is an infinite for-loop, selecting on these input/output data messages. This infinite for-loop will also NEED to listen for the Controller.Done() channel to exit that for-loop.  e.g.:  Then, to create an executable:  Build it as usual and run like so:
Keywords: alice-experiment|go|go-hep|godoc|golang|hep|lhc