module Network.Ipfs.Api.Stats where
import Control.Monad.IO.Class (MonadIO)
import Network.Ipfs.Api.Internal (_statsBw, _statsRepo)
import Network.Ipfs.Api.Internal.Call (call)
import Network.Ipfs.Api.Types (StatsBwObj, StatsRepoObj)
import Network.Ipfs.Client (IpfsT)
bw :: MonadIO m => IpfsT m StatsBwObj
bw :: IpfsT m StatsBwObj
bw = ClientM StatsBwObj -> IpfsT m StatsBwObj
forall (m :: * -> *) a. MonadIO m => ClientM a -> IpfsT m a
call ClientM StatsBwObj
_statsBw
repo :: MonadIO m => IpfsT m StatsRepoObj
repo :: IpfsT m StatsRepoObj
repo = ClientM StatsRepoObj -> IpfsT m StatsRepoObj
forall (m :: * -> *) a. MonadIO m => ClientM a -> IpfsT m a
call ClientM StatsRepoObj
_statsRepo