riak-0.7.0.1: A Haskell client for the Riak decentralized data store

Portabilityportable
Stabilityexperimental
MaintainerBryan O'Sullivan <bos@serpentine.com>
Safe HaskellSafe-Infered

Network.Riak.Content

Contents

Description

Low-level content and link types and functions.

Synopsis

Types

Functions

empty :: ContentSource

An empty piece of content.

binary :: ByteString -> ContentSource

Content encoded as application/octet-stream.

json :: ToJSON a => a -> ContentSource

Content encoded as application/json.

link :: Bucket -> Key -> Tag -> LinkSource

Create a link.