Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Metrics | |
|
data KafkaConfig Source #
Instances
Show KafkaConfig Source # | |
Defined in Striot.Nodes.Types showsPrec :: Int -> KafkaConfig -> ShowS # show :: KafkaConfig -> String # showList :: [KafkaConfig] -> ShowS # |
kafkaTopic :: Lens' KafkaConfig String Source #
kafkaConn :: Lens' KafkaConfig NetConfig Source #
kafkaConGroup :: Lens' KafkaConfig String Source #
data MQTTConfig Source #
Instances
Show MQTTConfig Source # | |
Defined in Striot.Nodes.Types showsPrec :: Int -> MQTTConfig -> ShowS # show :: MQTTConfig -> String # showList :: [MQTTConfig] -> ShowS # |
mqttTopic :: Lens' MQTTConfig String Source #
mqttConn :: Lens' MQTTConfig NetConfig Source #
data ConnectionConfig Source #
Instances
Show ConnectionConfig Source # | |
Defined in Striot.Nodes.Types showsPrec :: Int -> ConnectionConfig -> ShowS # show :: ConnectionConfig -> String # showList :: [ConnectionConfig] -> ShowS # |
data StriotConfig Source #
Instances
Show StriotConfig Source # | |
Defined in Striot.Nodes.Types showsPrec :: Int -> StriotConfig -> ShowS # show :: StriotConfig -> String # showList :: [StriotConfig] -> ShowS # | |
FromEnv StriotConfig Source # | |
Defined in Striot.Nodes.Types fromEnv :: Maybe StriotConfig -> Parser StriotConfig | |
ToEnv StriotConfig Source # | |
Defined in Striot.Nodes.Types toEnv :: StriotConfig -> EnvList StriotConfig | |
HasStriotConfig StriotConfig Source # | |
Defined in Striot.Nodes.Types striotConfig :: Lens' StriotConfig StriotConfig Source # chanSize :: Lens' StriotConfig Int Source # egressConnConfig :: Lens' StriotConfig ConnectionConfig Source # ingressConnConfig :: Lens' StriotConfig ConnectionConfig Source # nodeName :: Lens' StriotConfig String Source # | |
MonadReader StriotConfig StriotApp Source # | |
Defined in Striot.Nodes.Types ask :: StriotApp StriotConfig # local :: (StriotConfig -> StriotConfig) -> StriotApp a -> StriotApp a # reader :: (StriotConfig -> a) -> StriotApp a # |
class HasStriotConfig c where Source #
striotConfig :: Lens' c StriotConfig Source #
chanSize :: Lens' c Int Source #
egressConnConfig :: Lens' c ConnectionConfig Source #
ingressConnConfig :: Lens' c ConnectionConfig Source #
Instances
HasStriotConfig StriotConfig Source # | |
Defined in Striot.Nodes.Types striotConfig :: Lens' StriotConfig StriotConfig Source # chanSize :: Lens' StriotConfig Int Source # egressConnConfig :: Lens' StriotConfig ConnectionConfig Source # ingressConnConfig :: Lens' StriotConfig ConnectionConfig Source # nodeName :: Lens' StriotConfig String Source # |
writeConf :: ConnectType -> ConnectionConfig -> [EnvVar] Source #
readConf :: ConnectType -> Parser ConnectionConfig Source #
StriotApp | |
|
Instances
MonadIO StriotApp Source # | |
Defined in Striot.Nodes.Types | |
Applicative StriotApp Source # | |
Functor StriotApp Source # | |
Monad StriotApp Source # | |
MonadReader StriotConfig StriotApp Source # | |
Defined in Striot.Nodes.Types ask :: StriotApp StriotConfig # local :: (StriotConfig -> StriotConfig) -> StriotApp a -> StriotApp a # reader :: (StriotConfig -> a) -> StriotApp a # |
data ConnectType Source #
Instances
Show ConnectType Source # | |
Defined in Striot.Nodes.Types showsPrec :: Int -> ConnectType -> ShowS # show :: ConnectType -> String # showList :: [ConnectType] -> ShowS # |