Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data WebConfig = WebConfig {
- webHost :: !String
- webPort :: !Int
- webStore :: !Store
- webMaxDiff :: !Int
- webMaxPending :: !Int
- webMaxLimits :: !WebLimits
- webTimeouts :: !WebTimeouts
- webVersion :: !String
- webNoMempool :: !Bool
- webNumTxId :: !Bool
- data Except
- data WebLimits = WebLimits {
- maxLimitCount :: !Word32
- maxLimitFull :: !Word32
- maxLimitOffset :: !Word32
- maxLimitDefault :: !Word32
- maxLimitGap :: !Word32
- maxLimitInitialGap :: !Word32
- data WebTimeouts = WebTimeouts {
- txTimeout :: !Word64
- blockTimeout :: !Word64
- runWeb :: (MonadUnliftIO m, MonadLoggerIO m) => WebConfig -> m ()
Web
WebConfig | |
|
Instances
Instances
WebLimits | |
|
data WebTimeouts Source #
WebTimeouts | |
|
Instances
Eq WebTimeouts Source # | |
Defined in Haskoin.Store.Web (==) :: WebTimeouts -> WebTimeouts -> Bool # (/=) :: WebTimeouts -> WebTimeouts -> Bool # | |
Show WebTimeouts Source # | |
Defined in Haskoin.Store.Web showsPrec :: Int -> WebTimeouts -> ShowS # show :: WebTimeouts -> String # showList :: [WebTimeouts] -> ShowS # | |
Default WebTimeouts Source # | |
Defined in Haskoin.Store.Web def :: WebTimeouts # |
runWeb :: (MonadUnliftIO m, MonadLoggerIO m) => WebConfig -> m () Source #