memcache-conduit

Conduit library for memcache procotol

Latest on Hackage:0.0.3

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed and maintained by Kiyoshi Ikehara

memcache-conduit

This package provides conduit functions for memcache protocol.

For detail, please see '''hemcached''' sample code (sample/hemcached.hs).

Installation

Install with sample(hemcached)

> cabal install -f sample memcache-haskell memcache-conduit

Install without sample(hemcached)

> cabal install memcache-haskell memcache-conduit

Sample code

hemcached(memcache-sample-hemcached)

hemcached(memcache-sample-hemcached) is a simple memcached server to demonstrate how to use the memcache conduit functions. (expiration and eviction are not implemented.)

  1. Launch hemcached

    > ~/.cabal/bin/memcache-sample-hemcached

  2. Open another terminal window

    > telnet localhost 11211 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.

  3. Send memcache commands

    set key 0 0 5 value STORED get key VALUE key 0 5 value end

If you want to know further information, please see the file "sample/hemcached.hs" in this repository.

Contributors

  • Kiyoshi Ikehara
  • Junji Hashimoto

License

See LICENSE.

Copyright © Gree, Inc. All Rights Reserved.

Changes

0.0.3

  • First Release
comments powered byDisqus