Library that implements the RELP protocol


Keywords
relp, rsyslog, logs, logging
License
MIT
Install
npm install relp@0.5.2

Documentation

Build Status

Implements the RELP protocol for use in node projects

RELP Protocol

rsyslog Homepage

Examples

The following example will setup a server and print all messages coming and going from a RELP client

node examples/server

Testing

To run the unit tests, use

make test

There is also a cli coverage analysis

make test-cov

As well as a nice html output

make test-cov-html

Provided by ppunit and istanbul

TODO

  • Build a RELP client
  • Make sure to test parse errors/trying to syslog before open closes the socket
  • Ensure transaction id increments monotonically and disconnect if not