| CARVIEW |
memcache-conduit: Conduit library for memcache procotol
Flags
Automatic Flags
| Name | Description | Default |
|---|---|---|
| sample | Build sample programs | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- memcache-conduit-0.0.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.0.3 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | attoparsec, attoparsec-binary, base (>=4 && <5), 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 |
| Uploaded | by junjihashimoto at 2015-04-27T03:47:54Z |
| Category | Network |
| Bug tracker | https://github.com/gree/memcache-haskell/issues |
| Source repo | head: git clone https://github.com/gree/memcache-haskell.git |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Executables | memcache-sample-proxy, memcache-sample-hemcached |
| Downloads | 945 total (3 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2015-04-27 [all 1 reports] |
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.)
-
Launch hemcached
~/.cabal/bin/memcache-sample-hemcached
-
Open another terminal window
telnet localhost 11211 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
-
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.