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

Portabilityportable
Stabilityexperimental
MaintainerBryan O'Sullivan <bos@mailrank.com>

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.