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

Portabilityportable
Stabilityexperimental
MaintainerNathan 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.