| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Haskoin.Store.Web
Contents
Synopsis
- data WebConfig = WebConfig {
- host :: !String
- port :: !Int
- store :: !Store
- maxLaggingBlocks :: !Int
- maxPendingTxs :: !Int
- minPeers :: !Int
- limits :: !WebLimits
- timeouts :: !WebTimeouts
- version :: !String
- noMempool :: !Bool
- statsStore :: !(Maybe Store)
- tickerRefresh :: !Int
- tickerURL :: !String
- priceHistoryURL :: !String
- noSlow :: !Bool
- noBlockchainInfo :: !Bool
- healthCheckInterval :: !Int
- data Except
- data WebLimits = WebLimits {
- maxItemCount :: !Word32
- maxFullItemCount :: !Word32
- maxOffset :: !Word32
- defItemCount :: !Word32
- xpubGap :: !Word32
- xpubGapInit :: !Word32
- maxBodySize :: !Word32
- requestTimeout :: !Word32
- data WebTimeouts = WebTimeouts {}
- runWeb :: (MonadUnliftIO m, MonadLoggerIO m) => WebConfig -> m ()
Web
Constructors
| WebConfig | |
Fields
| |
Constructors
| ThingNotFound | |
| ServerError | |
| BadRequest | |
| UserError !String | |
| StringError !String | |
| TxIndexConflict ![TxHash] | |
| ServerTimeout | |
| RequestTooLarge |
Instances
Constructors
| WebLimits | |
Fields
| |
data WebTimeouts Source #
Constructors
| WebTimeouts | |
Instances
| Show WebTimeouts Source # | |
Defined in Haskoin.Store.Web Methods showsPrec :: Int -> WebTimeouts -> ShowS # show :: WebTimeouts -> String # showList :: [WebTimeouts] -> ShowS # | |
| Default WebTimeouts Source # | |
Defined in Haskoin.Store.Web Methods def :: WebTimeouts # | |
| Eq WebTimeouts Source # | |
Defined in Haskoin.Store.Web | |
runWeb :: (MonadUnliftIO m, MonadLoggerIO m) => WebConfig -> m () Source #