Skip to content

daurnimator/lua-tokyotyrant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Tokyo Tyrant Interface for Lua. Ported from Mikio Hirabayashi's 'tokytyrant.rb'.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • Lua 100.0%