module Memcached

Overview

This class is a client for memcached storage

** Usage **

# Require package
require "memcached"

# Create client instance
client = Memcached::Client.new

# Execute commands
client.set("key", "value")
client.set("another_key", "another_value")
client.get("key")                        # "value"
client.get_multi(["key", "another_key"]) # { "key" => "value", "another_key" => "another_value"}
client.delete("key")

Defined in:

memcached.cr
memcached/client.cr
memcached/response.cr
memcached/version.cr

Constant Summary

Log = ::Log.for(self)
VERSION = "0.2.1"