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

Method ReadField2

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

Source from the content-addressed store, hash-verified

6314}
6315
6316func (p *TSGetTimeZoneResp) ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
6317 if v, err := iprot.ReadString(ctx); err != nil {
6318 return thrift.PrependError("error reading field 2: ", err)
6319} else {
6320 p.TimeZone = v
6321}
6322 return nil
6323}
6324
6325func (p *TSGetTimeZoneResp) Write(ctx context.Context, oprot thrift.TProtocol) error {
6326 if err := oprot.WriteStructBegin(ctx, "TSGetTimeZoneResp"); err != nil {

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected