Skip to content

daurnimator/lua-tokyotyrant

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 17 commits ahead of audrencezar:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
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%