hriemann-0.2.1.0: Initial project template from stack

Safe HaskellNone
LanguageHaskell2010

Network.Monitoring.Riemann.TCPClient

Synopsis

Documentation

data TCPClient Source #

Constructors

TCPClient TCPConnection 

Instances

Client TCPClient Source # 

Methods

sendEvent :: TCPClient -> Event -> IO () Source #

close :: TCPClient -> IO () Source #

tcpClient :: HostName -> Port -> IO TCPClient Source #

A new TCPClient

The TCPClient is a Client that will send single events synchronously over TCP.

Current time and host name will be set if not provided.

''Note'': We never use IPv6 address resolved for given hostname.