| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.InfluxDB.Simple.Classy.Types
Documentation
Minimal complete definition
Methods
toLine :: a -> ByteString Source #
data InfluxDBConfig Source #
Constructors
| InfluxDBConfig | |
Fields
| |
Instances
class HasInfluxDBConfig c where Source #
Minimal complete definition
Methods
influxDBConfig :: Lens' c InfluxDBConfig Source #
idbHost :: Lens' c ByteString Source #
idbPass :: Lens' c ByteString Source #
idbPort :: Lens' c Int Source #
idbUser :: Lens' c ByteString Source #
Instances
data InfluxDbError Source #
Constructors
| CommsOrInfluxError ByteString | |
| ParseError ByteString | |
| UnknownError InfluxRqType SomeException |
Instances
class AsInfluxDbError r where Source #
Methods
_InfluxDbError :: Prism' r InfluxDbError Source #
_CommsOrInfluxError :: Prism' r ByteString Source #
_ParseError :: Prism' r ByteString Source #
_UnknownError :: Prism' r (InfluxRqType, SomeException) Source #
Instances
type CanInflux m e = (AsInfluxDbError e, MonadError e m, MonadIO m) Source #
basicInfluxOpts :: IsDb a => Options -> InfluxDBConfig -> a -> Options Source #
rqWinCode :: InfluxRqType -> Int Source #