| commit | 0c173bf9e02ee218ee7427aa0521845f674a3dd3 | [log] [tgz] |
|---|---|---|
| author | Yuxuan 'fishy' Wang <yuxuan.wang@reddit.com> | Thu Apr 30 23:49:29 2020 -0700 |
| committer | GitHub <noreply@github.com> | Fri May 01 07:49:29 2020 +0100 |
| tree | a0d1b165a5ca116907acf4f224c08b7b1558ba75 | |
| parent | 48730688fbf00b03f0dcdf3eb44963ad894bd98e [diff] |
THRIFT-5164: Small cleanup on example code Client: go Godoc requires at least one other exported type/function to render the whole example file in the example, so export simpleProcessorLoggingMiddleware to make the example of ProcessorMiddleware more helpful. Currently it's rendered in a not very helpful way: https://pkg.go.dev/github.com/apache/thrift@v0.13.1-0.20200430141240-5cffef964a08/lib/go/thrift?tab=doc#example-ProcessorMiddleware Compare to the client middleware example rendering: https://pkg.go.dev/github.com/apache/thrift@v0.13.1-0.20200430141240-5cffef964a08/lib/go/thrift?tab=doc#example-ClientMiddleware While I'm here, also update CHANGES.md to mention ClientMiddleware. [skip ci]