crystal-memcached
Crystal Memcached
Pure Crystal implementation of a Memcached client.
Installation
Add this to your application's shard.yml
:
dependencies:
memcached:
github: comandeo/crystal-memcached
Usage
require "memcached"
client = Memcached::Client.new
client.set("Key", "Value")
value = client.get("Key")
What is implemented
- get
- multi-get for faster getting multiple keys values (read here for details)
- set (with or without expiration)
- data version check
- delete
- append
- prepend
- touch
- flush
- increment
- decrement
Contributing
- Fork it ( https://github.com/comandeo/crystal-memcached/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- comandeo Dmitry Rybakov - creator, maintainer
Repository
crystal-memcached
Owner
Statistic
- 35
- 9
- 8
- 6
- 0
- about 1 year ago
- May 16, 2015
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 00:57:43 GMT
Languages