Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Monad m => MonadLocalIPFS m Source #
runLocal :: MonadLocalIPFS m => [Opt] -> ByteString -> m (Either Error RawMessage) Source #
class Monad m => MonadRemoteIPFS m Source #
runRemote :: MonadRemoteIPFS m => ClientM a -> m (Either ClientError a) Source #
ipfsAdd :: MonadRemoteIPFS m => ByteString -> m (Either ClientError CID) Source #
ipfsCat :: MonadRemoteIPFS m => CID -> m (Either ClientError Serialized) Source #
ipfsPin :: MonadRemoteIPFS m => CID -> m (Either ClientError Response) Source #
ipfsUnpin :: MonadRemoteIPFS m => CID -> Bool -> m (Either ClientError Response) Source #