hriemann-0.3.0.0: Initial project template from stack
Network.Monitoring.Riemann.TCPClient
data TCPClient Source #
Constructors
Defined in Network.Monitoring.Riemann.TCPClient
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.
Client
Current time and host name will be set if not provided.
''Note'': We never use IPv6 address resolved for given hostname.
Note''