skeleton for thrift services in erlang
Erlang Perl Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead of toddlipcon:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Makes simple thrift skeleton server based on a template.

For instance if you have a file foo.thrift with the following contents

service Foo {
  void bar (1: i32 baz)

Then run

% git clone git://
% thrift_erl_skel/ foo foo.thrift 9999
% cd foo
% edit src/foo_service.erl

add bar/1 to export
add the following at the end of the file

bar (I) ->
  io:format ("bar (~p)~n",[I]).

% rebar compile
% ./

Creating a client to talk to the server is left as an exercise for the reader.