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

Portabilityportable
Stabilityexperimental
MaintainerMark Hibberd <mark@hibberd.id.au>, Nathan Hunter <nhunter@janrain.com>
Safe HaskellNone

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.