The memcache-conduit package

[ Tags: library, mit, network ] [ Propose Tags ]

This package provides conduit functions for memcache protocol.


[Skip to Readme]

Properties

Versions 0.0.3
Change log ChangeLog.md
Dependencies attoparsec, attoparsec-binary, base (==4.*), bytestring (>=0.9), conduit, conduit-extra, containers, hashtables, memcache-conduit, memcache-haskell (>=0.0.6), monad-control, mtl, network (>=2.3.2), resourcet, split, stm (>=2.4), transformers [details]
License MIT
Copyright (c) 2015 GREE, Inc.
Author Kiyoshi Ikehara
Maintainer Kiyoshi Ikehara
Category Network
Bug tracker https://github.com/gree/memcache-haskell/issues
Source repository head: git clone https://github.com/gree/memcache-haskell.git
Uploaded Mon Apr 27 03:47:54 UTC 2015 by junjihashimoto
Distributions NixOS:0.0.3
Executables memcache-sample-proxy, memcache-sample-hemcached
Downloads 176 total (3 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-04-27 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
sample

Build sample programs

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for memcache-conduit-0.0.3

[back to package description]

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.