heartbeat.rs
Overview
A high-performance heartbeat client to check pulse of TCP servers. It utilizes TCP's connection handshake mechanism without even sending a client payload so it doesn't flood a network with client payloads.
##Example:
extern crate heartbeat;
use SocketAddr;
use PulseResult;
// a handler to handle the result of a heartbeat pulse
It is designed to be simple and efficient to embed into your own application.
Configuration
The TCP servers that you wish to check pulses of are added by specifying them in a TOML configuration file like this:
# Heartbeat.toml
[]
= ["127.0.0.1:8080", "127.0.0.1:6767"]
= 5000