Tokyo Tyrant Interface for Lua. Ported from Mikio Hirabayashi's 'tokytyrant.rb'.
Lua
Pull request Compare This branch is 17 commits ahead of audrencezar:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
.gitignore
README
tokyotyrant.lua

README

tokyotyrant.lua

Depends on
  - luasocket
  - Roberto Ierusalimschy's struct module
  - A tokyotyrant server to connect to
( Batteries not included )

Simple Usage Example
  > tyr = require "tokyotyrant"
  > rdb = tyr.rdb.new ( )
  > rdb:open ( host , port )  --defaults to 'localhost' and '1978'
  > rdb.foo = 'foo!'  --does put command
  > rdb:put ( "bar" , "bar!" ) -- also does put command
  > =rdb.foo        --does get command
  foo!

Implements all features of Mikio Hirabayashi's tokyocabinet.rb.

All your database are belong to Mikio.