MCPcopy
hub / github.com/IBM/sarama / For

Method For

mockresponses.go:64–70  ·  mockresponses.go::MockSequence.For
(reqBody versionedDecoder)

Source from the content-addressed store, hash-verified

62}
63
64func (mc *MockSequence) For(reqBody versionedDecoder) (res encoderWithHeader) {
65 res = mc.responses[0].For(reqBody)
66 if len(mc.responses) > 1 {
67 mc.responses = mc.responses[1:]
68 }
69 return res
70}
71
72type MockListGroupsResponse struct {
73 groups map[string]string

Callers

nothing calls this directly

Calls 1

ForMethod · 0.65

Tested by

no test coverage detected