| commit | 5cffef964a081314df70b76f8650bd17bfdd55e6 | [log] [tgz] |
|---|---|---|
| author | Andrew Boyle <pacejackson@users.noreply.github.com> | Thu Apr 30 07:12:40 2020 -0700 |
| committer | GitHub <noreply@github.com> | Thu Apr 30 15:12:40 2020 +0100 |
| tree | e9c4393372fb97723d8e467b4f8aaf7221509940 | |
| parent | 9c757973462d5db9ad7eaabc41d9f1a531ed32d2 [diff] |
THRIFT-5164: Add middleware framework for Go clients This commit adds a simple middleware framework for Go clients. It provides: * A `ClientMiddleware` function interface used to define the actual middleware * `WrapClient`, the function that you use to wrap a `TClient` in a list of middleware * A helper `WrappedTClient` struct to help with developing middleware Client: go