Safe Haskell | None |
---|
- initMandrill :: SnapletInit b MandrillState
- runMandrill :: HasMandrill m => MandrillT m a -> m a
- newtype MandrillState = MandrillState {
- token :: MandrillKey
- class MonadIO m => HasMandrill m where
- getMandrill :: m MandrillKey
Documentation
initMandrill :: SnapletInit b MandrillStateSource
Initialize the Mandrill Snaplet.
runMandrill :: HasMandrill m => MandrillT m a -> m aSource
Runs an Mandrill action in any monad with a HasAmqpConn instance.
newtype MandrillState Source
MandrillState | |
|
HasMandrill (Handler b MandrillState) |
class MonadIO m => HasMandrill m whereSource
getMandrill :: m MandrillKeySource
MonadIO m => HasMandrill (ReaderT MandrillKey m) | |
HasMandrill (Handler b MandrillState) |