MCPcopy Create free account
hub / github.com/apache/thrift / WriteStructBegin

Method WriteStructBegin

lib/go/thrift/simple_json_protocol.go:234–239  ·  view source on GitHub ↗
(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

232}
233
234func (p *TSimpleJSONProtocol) WriteStructBegin(ctx context.Context, name string) error {
235 if e := p.OutputObjectBegin(); e != nil {
236 return e
237 }
238 return nil
239}
240
241func (p *TSimpleJSONProtocol) WriteStructEnd(ctx context.Context) error {
242 return p.OutputObjectEnd()

Callers

nothing calls this directly

Calls 1

OutputObjectBeginMethod · 0.95

Tested by

no test coverage detected