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

Method ReadField1

rpc/client.go:28757–28763  ·  view source on GitHub ↗
(ctx context.Context, iprot thrift.TProtocol)

Source from the content-addressed store, hash-verified

28755}
28756
28757func (p *IClientRPCServiceCloseSessionArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
28758 p.Req = &TSCloseSessionReq{}
28759 if err := p.Req.Read(ctx, iprot); err != nil {
28760 return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Req), err)
28761 }
28762 return nil
28763}
28764
28765func (p *IClientRPCServiceCloseSessionArgs) Write(ctx context.Context, oprot thrift.TProtocol) error {
28766 if err := oprot.WriteStructBegin(ctx, "closeSession_args"); err != nil {

Callers 1

ReadMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected