Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Callback = Callback {
- _executable :: FilePath
- _arguments :: [Text]
- data Message = Message Feed FeedElement
Documentation
External program run for each feed element.
A Message
is passed to this program through stdin, serialized in JSON.
Callback | |
|
Instances
Eq Callback Source # | |
Ord Callback Source # | |
Defined in Imm.Callback | |
Read Callback Source # | |
Show Callback Source # | |
Generic Callback Source # | |
Interpret Callback Source # | |
Defined in Imm.Callback autoWith :: InterpretOptions -> Type Callback # | |
Pretty Callback Source # | |
Defined in Imm.Callback | |
type Rep Callback Source # | |
Defined in Imm.Callback type Rep Callback = D1 (MetaData "Callback" "Imm.Callback" "imm-1.6.0.0-AI8t4wjrAX18Aalm5NPGfe" False) (C1 (MetaCons "Callback" PrefixI True) (S1 (MetaSel (Just "_executable") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath) :*: S1 (MetaSel (Just "_arguments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text]))) |
All information passed to external programs about a new feed item, are stored in this structure.
Instances
Eq Message Source # | |
Ord Message Source # | |
Show Message Source # | |
Generic Message Source # | |
ToJSON Message Source # | |
Defined in Imm.Callback | |
FromJSON Message Source # | |
type Rep Message Source # | |
Defined in Imm.Callback type Rep Message = D1 (MetaData "Message" "Imm.Callback" "imm-1.6.0.0-AI8t4wjrAX18Aalm5NPGfe" False) (C1 (MetaCons "Message" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Feed) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FeedElement))) |