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

Method ReadField2

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

Source from the content-addressed store, hash-verified

31689}
31690
31691func (p *IClientRPCServiceSetStorageGroupArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
31692 if v, err := iprot.ReadString(ctx); err != nil {
31693 return thrift.PrependError("error reading field 2: ", err)
31694} else {
31695 p.StorageGroup = v
31696}
31697 return nil
31698}
31699
31700func (p *IClientRPCServiceSetStorageGroupArgs) Write(ctx context.Context, oprot thrift.TProtocol) error {
31701 if err := oprot.WriteStructBegin(ctx, "setStorageGroup_args"); err != nil {

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected