Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 349 Bytes

Echo command

Implements a simple echo command (nothign is stored in TC)

Starting server with incr extension

> ttserver -ext echo.lua test.tch

Executing from command line

> tcrmgr ext localhost echo foo bar
> foo:bar
> tcrmgr ext localhost echo hello world
> hello:world

Executing via Ruby

> ruby echo.rb
> hello:world