forked from toddlipcon/thrift_erl_skel
-
Notifications
You must be signed in to change notification settings - Fork 1
skeleton for thrift services in erlang
djnym/thrift_erl_skel
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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://github.com/djnym/thrift_erl_skel.git % thrift_erl_skel/make_new_thrift.pl 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 % ./start_foo.sh Creating a client to talk to the server is left as an exercise for the reader.
About
skeleton for thrift services in erlang
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Erlang 77.7%
- Perl 21.6%
- Shell 0.7%