D. Can Celasun | 4f77ab8 | 2017-09-21 15:21:00 +0200 | [diff] [blame] | 1 | // +build !go1.7 |
2 | |||||
3 | package thrift | ||||
4 | |||||
5 | import "golang.org/x/net/context" | ||||
6 | |||||
7 | type TClient interface { | ||||
8 | Call(ctx context.Context, method string, args, result TStruct) error | ||||
9 | } | ||||
10 | |||||
11 | func (p *TStandardClient) Call(ctx context.Context, method string, args, result TStruct) error { | ||||
12 | return p.call(method, args, result) | ||||
13 | } |