Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (10 sloc) 282 Bytes
#!/usr/bin/lua
local Memcached = require('Memcached')
local memcache = Memcached.Connect()
memcache:set('test', 'abc123')
memcache:set('test2', 'xyz321')
local foo = memcache:get_multi('test', 'test2')
for i,v in pairs(foo) do
print(i,v)
end
print(memcache:get('test'))