https://github.com/eleme/thrift-tracker
https://github.com/eleme/thrift-tracker
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eleme/thrift-tracker
- Owner: eleme
- License: mit
- Created: 2017-05-17T09:00:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T02:39:27.000Z (almost 8 years ago)
- Last Synced: 2024-06-20T06:37:44.988Z (over 1 year ago)
- Language: Go
- Size: 43.9 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## [thriftpy](https://github.com/eleme/thriftpy/tree/develop/thriftpy/contrib/tracking)-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
```Bash
$ git clone git@github.com: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/
```