/thrift-clj-example

Examples for thrift-clj.

Primary LanguageClojure

thrift-clj-example

Example for thrift-clj usage.

Usage

The example implements a simple storage server that stores Person objects using a given ID and delivers them when requested.

Starting the Server

lein run -m person-index.server [<Port>]

Default Port is 7007.

Starting the Client

lein run -m person-index.client [-h <Host>] [-p <Port>] -c [store  <ID> <First Name> <Last Name> <Age> | get <ID>]

License

Copyright © 2013 Yannick Scherer

Distributed under the Eclipse Public License, the same as Clojure.