memcached
Version, currently 1.0.06 versions
github.com/comandeo/crystal-memcached
Pure Crystal implementation of a Memcached client.
36 stars
6 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
memcached:
github: comandeo/crystal-memcached
version: ~> 1.0.0Then run:
shards installshard.yml
- Crystal
>= 1.0.0- License
- MIT
- Author
- Dmitry Rybakov
Dependencies
This version declares no dependencies.
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.0.0- Tagged
- Mar 26, 2021
- Commit
80ba641e01c1- Crystal
>= 1.0.0- Indexed
- yes
Dependents
Repository
github.com/comandeo/crystal-memcached
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 24, 2026
- Synced
- Sep 23, 2026
- Versions
- 6