(ctx context.Context, iprot thrift.TProtocol)
| 939 | } |
| 940 | |
| 941 | func (p *TSStatus) ReadField1(ctx context.Context, iprot thrift.TProtocol) error { |
| 942 | if v, err := iprot.ReadI32(ctx); err != nil { |
| 943 | return thrift.PrependError("error reading field 1: ", err) |
| 944 | } else { |
| 945 | p.Code = v |
| 946 | } |
| 947 | return nil |
| 948 | } |
| 949 | |
| 950 | func (p *TSStatus) ReadField2(ctx context.Context, iprot thrift.TProtocol) error { |
| 951 | if v, err := iprot.ReadString(ctx); err != nil { |