| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Logstash.Connection
Synopsis
- data LogstashConnection = LogstashConnection {
- writeData :: ByteString -> IO ()
- closeConnection :: IO ()
- type LogstashPool = Pool LogstashConnection
Documentation
data LogstashConnection Source #
Represents an abstract interface for Logstash connections that hides details about the nature of the connection.
Constructors
| LogstashConnection | |
Fields
| |
Instances
| LogstashContext LogstashPool Source # | |
Defined in Logstash Methods runLogstash :: (MonadMask m, MonadUnliftIO m) => LogstashPool -> RetryPolicyM m -> Integer -> (RetryStatus -> ReaderT LogstashConnection m a) -> m a Source # | |
| LogstashContext (Acquire LogstashConnection) Source # | |
Defined in Logstash Methods runLogstash :: (MonadMask m, MonadUnliftIO m) => Acquire LogstashConnection -> RetryPolicyM m -> Integer -> (RetryStatus -> ReaderT LogstashConnection m a) -> m a Source # | |
type LogstashPool = Pool LogstashConnection Source #
For convenience so that importing modules do not have to import
Pool, a type alias for a Pool of LogstashConnection.