MCPcopy
hub / github.com/segmentio/kafka-go / writeTo

Method writeTo

heartbeat.go:85–89  ·  view source on GitHub ↗
(wb *writeBuffer)

Source from the content-addressed store, hash-verified

83}
84
85func (t heartbeatRequestV0) writeTo(wb *writeBuffer) {
86 wb.writeString(t.GroupID)
87 wb.writeInt32(t.GenerationID)
88 wb.writeString(t.MemberID)
89}
90
91type heartbeatResponseV0 struct {
92 // ErrorCode holds response error code

Callers

nothing calls this directly

Calls 2

writeStringMethod · 0.45
writeInt32Method · 0.45

Tested by

no test coverage detected