MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / ReadField1

Method ReadField1

common/common.go:941–948  ·  view source on GitHub ↗
(ctx context.Context, iprot thrift.TProtocol)

Source from the content-addressed store, hash-verified

939}
940
941func (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
950func (p *TSStatus) ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
951 if v, err := iprot.ReadString(ctx); err != nil {

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected