MCPcopy Create free account
hub / github.com/IBM/sarama / For

Method For

offset_manager_test.go:1127–1133  ·  view source on GitHub ↗
(reqBody versionedDecoder)

Source from the content-addressed store, hash-verified

1125}
1126
1127func (c *offsetCommitCapture) For(reqBody versionedDecoder) encoderWithHeader {
1128 req := reqBody.(*OffsetCommitRequest)
1129 c.mu.Lock()
1130 c.reqs = append(c.reqs, req)
1131 c.mu.Unlock()
1132 return c.inner.For(reqBody)
1133}
1134
1135func (c *offsetCommitCapture) requests() []*OffsetCommitRequest {
1136 c.mu.Lock()

Callers

nothing calls this directly

Calls 1

ForMethod · 0.65

Tested by

no test coverage detected