Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 834 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 834 Bytes

thriftpy-like tracker for golang

Only support request header currently, response header is not so useful as request header.

Unlike example/, always use client/processor factory to avoid state race.

Requirements

A modified version of thrift compiler: https://github.com/eleme/thrift

$ git clone [email protected]:eleme/thrift.git
$ git checkout tracker
$ ./bootstrap.sh
$ ./configure --prefix=/usr/local/ --without-haskell --without-java --without-php --without-nodejs --without-python --without-cpp --without-lua --without-perl --without-ruby --without-erlang --without-rust
$ make
$ sudo make install  # Or, sudo cp compiler/cpp/thrift /usr/local/bin/tracker-thrift
$ # You can now use thrift compiler to generate go code, see example/